How to understand sim.getSimulationTimeStep?

Typically: "How do I... ", "How can I... " questions
Post Reply
Shaoxiang Wang
Posts: 18
Joined: 23 May 2020, 15:39

How to understand sim.getSimulationTimeStep?

Post by Shaoxiang Wang »

hello ,

I am new to Vrep. This is "sim.getSimulationTimeStep" very often in code . But i can't good understand it.

Can you explain it? Can we change the Value? Best with an example. Thank you very much!

Best Wishes
Shaoxiang

fferri
Posts: 1222
Joined: 09 Sep 2013, 19:28

Re: How to understand sim.getSimulationTimeStep?

Post by fferri »

As explained in Simulation (simulationLoop):

Image

it is the increase of simulation time in each run of main script.

You can change that in the Simulation settings dialog.

Shaoxiang Wang
Posts: 18
Joined: 23 May 2020, 15:39

Re: How to understand sim.getSimulationTimeStep?

Post by Shaoxiang Wang »

It is clear ! Thank you very much!

Post Reply