[ODE] Simulation of tank

Jon Watte (ODE) hplus-ode at mindcontrol.org
Fri Sep 8 10:31:59 MST 2006


For a tank, I would suggest a box for the chassis, and two capsules 
(ccylinders) for the two threads. The capsules don't need to move; 
instead, set the forward direction and velocity parameters of contact 
joints created on the thread geometries.

Cheers,

          / h+


Peter Libič wrote:
> Hi,
>
> I'm trying to write a simulation of a tank on a trimesh terrain.
> I tried to simulate it using one box with four spheres-wheels in corners.  
> Then I applied torque or amotor to the wheels. For turning I applied to left wheels 
> more torque and to  the left wheels  less, or negative torque. This didn't worked well.
> So I tried to let the wheeels only for acceleration and braking and to turn I used torque 
> for the chasis-box in desired direction. When I reduced the mu value this worked quite well 
> for big wheels and boxes, but for smaller ones it's really bad.
> Could anyone give me advice, how should I simulate the tank?
>
>   


More information about the ODE mailing list