Replay speed fluctuating

asked 2020-05-04 16:03:31 -0500

SamS gravatar image

Hi, I captured a simulation. However when I replay it, the replay speed fluctuates... https://youtu.be/-3GEdqrSCyA

I checked the state.log file by the "gz log -s -f xx.log" command, and found that the "sim_time difference" between each record/iteration will usually increment by 0.002-0.003, but sometime the increment will be 0.02-0.03, or even 0.2-0.3.

Any idea how to fix this?


I even tried to decrease the real-time factor to 0.1, and applied the following settings: <physics type="ode"> <max_step_size>0.001</max_step_size> <real_time_factor>0.1</real_time_factor> <real_time_update_rate>100</real_time_update_rate> <gravity>0 0 -9.8</gravity> </physics>

However, the problem still maintains.

edit retag flag offensive close merge delete