[ODE] RE: Car wheels
McEvoy, Nick
nick.mcevoy at dsto.defence.gov.au
Wed Dec 4 16:15:02 2002
Robert Milesz wrote:
<snip>
>The rear wheels tend to rotate, which is unexpected, as I set the
>HiStop and LoStop parameters to 0.0 (all four wheels have hinge2
>joints). This effect is visible especially when the car is sliding
>in a turn. In this case, the rear wheels are turning towards the
>direction of the sliding movement, which is what supposed to happen,
>but only if there wasn't a 'lock' on the Hi and LoStop parameters.
>I've tried quite a lot of things to fix this.
<snip>
There is a growing list of people who have this problem ... I call it the 'bendy wheel problem' ... or the 'freaky rubber band wheel feature' ... and I have *not* found any 'good' solution to the problem.
I've tried all the tweaks I can think of to get the wheels to stay straight:
- reduce world step size
- call world step more often per frame
- increase diameter of wheel & decrease mass of wheel
- fiddled with CFM, etc.
- call appropriate ode methods to that should 'fix' this issue (you know the ones dBodySetFiniteRotationAxis, etc.)
All of these reduced the problem ... but as my vehicle reaches top speed it can get nasty !
Suggestions like visually drawing the wheels correctly aligned do not help because the handling is affected by the wheels moving out of alignment (thus the car 'crabs' sideways and ultimately spins out of control).
In a previous email (http://q12.org/pipermail/ode/2002-October/002006.html) Russ talked about the problem. I wish I had some clues on how to fix it myself ... but I don't look under the hood of the ODE engine much ... or if I did I'd probably just scratch my head and say 'erm ... looks like you've got a wheel alignment problem there ... that's gonna take some fix'n' :)
I hope this issue can be sorted sometime soon ... (Russ?)
Nick