[ODE] dWorldStep()

Gopi Prashanth gprashanth at Heavy-Iron.com
Mon Mar 28 12:10:43 MST 2005


I pressume the problem you are having is the classic dynamic frame rate
problem. Probably when you are not running graphics your simLoop (dWordStep)
gets called more frequently than when you run graphics - due to frame rate
difference ( GPU Load ). This causes the physics to be called fewer times
but larger time steps and hence your total time of viewing being the same
the controller could not be at the same position as earlier. 

My 2 cents worth...

Thanks,
Gopi

-----Original Message-----
From: Kuldip [mailto:kuldip at cse.iitk.ac.in]
Sent: Monday, March 28, 2005 12:02 PM
To: ode at q12.org
Subject: [ODE] dWorldStep()




Hi all,


I am using ODE for the evolution of a robot. I am doing something like
this..

for(_________)
{

if(GraphicsOn)
   dsSimulationLoop(argc, argv, 352, 288, &fn);

else
    simLoop(false)

}



Now the question is the robot without graphics walks 15 meters(for
instance). But if I run the same robot( the controller actully) with
graphics then would it walks the same distance and would follow the same
path as the former one?

Does dWordStep() plays any role in this?

Thanks and regards
Kuldip


More information about the ODE mailing list