I don't understand that the docs explained the question about ' Fixed time-step'. I will try to describe a phenomenon by setting ' Fixed time-step '. I found that the larger the parameter(-fps=5, 10,20 and so on) setting, the slower the agents run in the simulator. My understanding of the document is that the larger the parameter(-fps= **), the faster the movement is. But the result is exactly the opposite. Is my understanding wrong?
Hey, @zhangfree2018.
I have to tell you to read the issue related docs carefully, but anyway...
Let's say you are going to play 2 simulations and save each image to disk on two different folders A and B.
-fps=60 and stores the images to folder A.-fps=5 and stores the images to folder B.Your machine will try to generate the maximum number of individual frames each second, regardless of the -fps parameter. What -fps does is determine the simulation time between each frame. This generates this "_fast/slow effect_".
Hope it helps.
Regards.
Hi @marcgpuig
Thanks for your detailed explanation about my confusion. Your example can explain the problem clearly.
Most helpful comment
Hey, @zhangfree2018.
I have to tell you to read the issue related docs carefully, but anyway...
Let's pose an experiment:
Let's say you are going to play 2 simulations and save each image to disk on two different folders A and B.
-fps=60and stores the images to folder A.-fps=5and stores the images to folder B.We should play the video at 60 frames per second so 1 second in the simulation is 1 second in real life.
We should play the video at 5 frames per second so 1 second in the simulation is 1 second in real life.
Your machine will try to generate the maximum number of individual frames each second, regardless of the
-fpsparameter. What-fpsdoes is determine the simulation time between each frame. This generates this "_fast/slow effect_".Hope it helps.
Regards.