[ODE] Car Physics with a couple errors
kurimail
kurimail at arrakis.es
Wed Jul 6 15:56:52 MST 2005
And don't forget to set the world erp and cfm to values like:
erp: 0.5
cfm: 0.0001
Although this depends on the car size and mass.
Good Luck. Cheers, KuRi
>
> You probably haven't set the lo and hi stops TWICE, which is necessary
> because of an implementation issue in the joint. This is mentioned in
> the FAQ, btw.
>
> You might also want to check out the code at
> http://www.mindcontrol.org/~hplus/carworld/ which is a working car built
> much like yours, tuned to allow maneuvering at moderately high speeds
> without flipping over.
>
> Cheers,
>
> / h+
>
>
> mlist1 at binaryfortress.com wrote:
>> I have created a car using a box for the chassis, 4 spheres for the
>> wheels
>> and 4 hinge2 joints to connect the wheel to the chassis. Axis 1 is for
>> steering and axis 2 is for rotation. I have set the hi/lo stop of axis
>> 1
>> for the back wheels to 0.0, and I've messed around with the CFM
>> parameters
>> but I just can't keep the back wheels from turning. If I'm driving in a
>> straight line then I turn the front wheels and start driving in a
>> circle,
>> the back wheels start to turn as well, and I end up just spinning in a
>> circle. Is there anything I am missing? I have tried using the
>> AddTorque
>> function to rotate the wheel, and I've tried using the Vel2 and Max2
>> params to rotate it, but nothing seems to fix it.
>>
>> Any thoughts would be much appreciated.
>> Thanks
>> _______________________________________________
>> ODE mailing list
>> ODE at q12.org
>> http://q12.org/mailman/listinfo/ode
>>
>>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
More information about the ODE
mailing list