From: Séverin L. <sev...@la...> - 2008-10-07 06:42:19
|
I've more or less the same question in a wider context (hybrid simulation): how can we constraint the simulator to stick to real time? Regards, Severin Lemaignan Ziathon a écrit : > Hello, > > I've been experimenting with turning the p2 robot. I've been trying to time > it such that it stops exactly once it's done a 90 degree turn. The problem > is calling sleep doesn't work because the simulation time rate is often > different than the rate time really passes. Any recommendations on how to > get around this? > > Thanks |