[ODE] Slip detection

Jon Watte (ODE) hplus-ode at mindcontrol.org
Sat Aug 13 10:02:45 MST 2005

Yes; my formula was specifically for sideways slip.

If you want just slip, period, then the easiest way to do that is to get 
the world velocity of the body (wheel) at the contact point. There's 
even a call to get it: dBodyGetPointVel(). If it's non-0, then you're 
slipping. Note that there will always be a small amount of slippage even 
whiel rolling, because of simulation approximations, so you should 
subtract some threshold value.


			/ h+

Charlls Quarra wrote:
> Actually velocity at the contact point (assuming a sphere) is ( w x r + 
> v ), where w is the angular velocity times the axis of rotation, r is 
> the vector that point from center of sphere to contact point, and v is 
> the linear velocity. when w x r + v is the zero vector you have rolling 
> contact. Otherwise you are slipping

More information about the ODE mailing list