[ODE] Car simulation wheel problem

Jon Watte (ODE) hplus-ode at mindcontrol.org
Wed Oct 5 11:28:54 MST 2005

You're probably bitten by the low/high stop problem. When you set the 
stops, you need to set them twice, like so:

   setLowStop( x );
   setHighStop( x );
   setLowStop( x );

The reason is that a call to set a temporarily inconsistent value will 
be silently ignored by ODE.

This is, by the way, a FAQ, so more information is probably available on 
the Wiki.

I once tried submitting a patch that forced the other stop to the same 
as the set stop if they counteracted, but that went nowhere. I really 
think that's the right solution, though.


			/ h+

andreif at mail.dntis.ro wrote:
> Hello,
> I've created a small car simulation using code similar to most of the public available examples on this topic - a body and 4 wheels, connected by 4 hinge2 joints, rotating car is done by using the front wheels. When car's speed is low the wheels turn fine when I want it to turn left or right. When car's speed increase however and after some turns the wheels get in the following shape:
> | |
>  |
> / \
> where the / \ wheels are the front ones. Does anyone know a cause of this behaviour and/or some (quick or not) fixes for the problem ? I think I saw this topic appearing on the list a while ago, can't remember the verdict.
> Thanks,
> Andrei
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode

More information about the ODE mailing list