[ODE] Creating a simulation with ODE

Tatu Lahtela lahtela at cs.tut.fi
Wed Jun 30 10:26:19 MST 2004


On Tue, 29 Jun 2004 10:16:03 -0700, Jon Watte <hplus-ode at mindcontrol.org>  
wrote:

>
>> Where should I look in the ODE source code to "lock" the timestep to a
>> certain value regardless of the time past in real time.
>
> You don't need to "lock" anything. Just pass a fixed value into
> the dWorldStep() function (or StepFast, or whatever function
> you're using). If you want your time step to always be 24 fps,
> then pass 1.0/24 as the elapsed time value.
>
> Simulations are generally much more stable when you use a fixed
> time step, too, by the way.


So there should be no problems using ODE if the program does calculations  
for tens of seconds between each timestep?





-- 
Tampere University of Technology / Automation and Control Institute
Tatu Lahtela


More information about the ODE mailing list