How to change the gravity during the simulation
Posted: 23 Oct 2019, 10:26
hello,
I am using Matlab to control the robot in V-rep.
But setting the gravity to -9.8m/s^2 at the initial stage will cause the mechanical structure to collapse.
So, I want a gradual change in gravity during the simulation.
Is there any API that can read and change the gravity during the simulation. Or I just need to change the gravity by hand?
thanks
I am using Matlab to control the robot in V-rep.
But setting the gravity to -9.8m/s^2 at the initial stage will cause the mechanical structure to collapse.
So, I want a gradual change in gravity during the simulation.
Is there any API that can read and change the gravity during the simulation. Or I just need to change the gravity by hand?
thanks