09-09-2012, 08:09 AM,
(This post was last modified: 09-09-2012, 08:12 AM by MiguelM.)
|
|
MiguelM
Junior Member
|
Posts: 7
Threads: 0
Joined: Sep 2012
|
|
RE: New sim code
(09-08-2012, 06:35 AM)NaN Wrote: A small update.
Current ABS, TCS are adjusting per wheel brake value to match tire ideal slip(maximum grip). They don't deal with car stability though. Thus I've been trying to figure out a simple stability control(using brakes too). Unfortunately it is a bit more involved to infer current car state, identify over steer and adjust the brakes correctly to reduce it. A few naive attempts didn't work as expected.
I really would like this to be working before making a release as it would help the AI and keyboard drivers controlling the car. This means delays though.
If I may...
Toyota details its system (VSC, not the much more advanced VDIM in all Lexus) the following way:
Quote:Yaw rate sensor: The sensor is installed parallel to the vertical axis of the vehicle. It detects only the rotational angular velocity (yaw rate) around the axis.
G sensor: This sensor is set in a horizontal position near the center of gravity of the vehicle. It detects acceleration in the longitudinal and lateral directions.
Steering angle sensor: This sensor is installed on the back of the steering wheel, and directly detects the driver's steering operation.
Brake pressure sensor: This sensor is installed on the VSC hydraulic control unit to detect changes in brake pressure.
Wheel speed sensor: This sensor is set at each wheel to detect each wheel's rotational angular velocity.
Throttle angle sensor: This sensor detects the driver's acceleration pedal operation and the throttle angle when engine output is controlled by VSC.
VSC hydraulic control unit: The TRC and ABS functions work when wheels slip on acceleration and deceleration. The VSC function works when the vehicle skids. The unit supplies hydraulic pressure to control each wheel.
Throttle actuator: It opens and closes the throttle valve when the VSC controls engine output.
The bold, underlined parts are, I suspect, what most physics engine deal with.
I know a crude, basic measure found in some platforms is to use a combination of a certain percentage of the contact patch sliding and yaw angle variation.
As I am giving my first steps with vDrift I fear I cannot help much more than this.
|
|
09-15-2012, 09:17 AM,
(This post was last modified: 09-15-2012, 09:34 AM by MiguelM.)
|
|
MiguelM
Junior Member
|
Posts: 7
Threads: 0
Joined: Sep 2012
|
|
RE: New sim code
joevenzon,
is the Pacejka Editor still available for download (the win32 dlls and exe)?
--
In regards to TCS, the description I posted above is Toyota's own description of their system. The more advanced system has Toyota's TCS integrated, probably a different, more sophisticated version of it.
A question someone posed to me recently is this: regardless of sporting/technical regulations by FIA, pilots seemingly prefer no driver aids, they find TCS systems too intrusive. So, racing sims also have to take this into account, allowing the simracer to turn driver aids off.
Drifting wise, aren't these systems too intrusive also? How much intervention is acceptable?
|
|
09-15-2012, 11:10 AM,
(This post was last modified: 09-15-2012, 12:34 PM by NaN.)
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
RE: New sim code
(09-15-2012, 09:17 AM)MiguelM Wrote: In regards to TCS, the description I posted above is Toyota's own description of their system. The more advanced system has Toyota's TCS integrated, probably a different, more sophisticated version of it.
A question someone posed to me recently is this: regardless of sporting/technical regulations by FIA, pilots seemingly prefer no driver aids, they find TCS systems too intrusive. So, racing sims also have to take this into account, allowing the simracer to turn driver aids off.
Drifting wise, aren't these systems too intrusive also? How much intervention is acceptable?
This stability control systems can be quite sophisticated. I've seen some papers where they are using a real time quarter car + tire model fed with sensor data for tire state estimation.
We are in the position to have a model already, can use current tire state for the controller.
The issue with driver aids in racing sims/games has an additional function compared to real life, compensating for the input and feedback. As an exaggerated example, I don't think one could control a real world racing car with a gamepad.
|
|
09-16-2012, 10:38 AM,
|
|
zimluura
Senior Member
|
Posts: 286
Threads: 22
Joined: Oct 2007
|
|
RE: New sim code
(09-15-2012, 11:10 AM)NaN Wrote: The issue with driver aids in racing sims/games has an additional function compared to real life, compensating for the input and feedback. As an exaggerated example, I don't think one could control a real world racing car with a gamepad.
Also, in racing games they are usually user preferences. Whereas, IRL, if you have a nissan skyline, you get very good tcs and, if i'm not mistaken, stability management...if you have a mclaren f1, you don't even get abs brakes.
|
|
09-23-2012, 03:02 PM,
(This post was last modified: 09-23-2012, 03:11 PM by MiguelM.)
|
|
MiguelM
Junior Member
|
Posts: 7
Threads: 0
Joined: Sep 2012
|
|
RE: New sim code
(09-18-2012, 11:20 AM)joevenzon Wrote: (09-15-2012, 09:17 AM)MiguelM Wrote: joevenzon,
is the Pacejka Editor still available for download (the win32 dlls and exe)?
There should be an old copy on svn.vdrift.net under /trunk/win32/bin
Hello, Joe.
Thanks for replying.
Problem is, the only thing is access to the repository for full retrieval is possible only through ViewVC. ViewVC is only available through building its source code, which I cannot atm build.
(09-16-2012, 12:29 PM)NaN Wrote: Weird. I've tried something very primitive today. I used car body slip angle to trigger brake release/lock (depending on wheel roll direction, relative position) and it seems to be very effective (tested with F1-02, Z06). I had a really hard time to force oversteer beyond the trigger angle limit. It is somewhat clunky/aggressive, needs an angular velocity factor I think, but it works.
Maybe not weird nor primitive. It looks like a feasible, albeit simple, solution - at least partially.
A while back a friend of mine former alumnus at Stanford pointed me towards a then Stanford thesis and lab research suggesting the use of Pneumatic Trail as a means of achieving an effective traction control system. According to a source, Dave Kaemmer uses this, though not for traction control.
I went through it several times and undoubtedly it is a faultless strategy.
---
On another matter, I would like to know the opinion of both Joe and you about coupled/decoupled variables and the current method(s) of integration used within vDrift. I hope you don't mind my asking this.
Cheers
|
|
09-28-2012, 07:24 AM,
(This post was last modified: 09-28-2012, 07:25 AM by MiguelM.)
|
|
MiguelM
Junior Member
|
Posts: 7
Threads: 0
Joined: Sep 2012
|
|
RE: New sim code
Well, the reason I asked about ViewVC was because SVN is being refused a conn:
Quote:"Can't connect to host 'svn.vdrift.net': No connection could be made because the target machine actively refused it."
|
|
09-28-2012, 12:52 PM,
|
|
MiguelM
Junior Member
|
Posts: 7
Threads: 0
Joined: Sep 2012
|
|
RE: New sim code
Ahhh! Success!
Thanks Joe. That did it. *thumbs up*
|
|
|