Controlling simulation externally
Controlling simulation externally
I am new to V-Rep. I have have a simple question regarding the API's. Can an external program control the simulation time? I see that the Regular API has a function called "simAdvanceSimulationByOneStep()" but I am still unsure if this will give me the ability to control advancing the simulation by an external actor. Can anyone comment on if or how this is possible? Thanks in advance.
Re: Controlling simulation externally
Hello,
yes, you can do this, but in that case V-REP will need to run in synchronous mode, and each simulation step can be triggered by an external application (i.e. via ROS, or via the remote API).
In case of ROS, have a look at this simulation model: models/tools/rosInterface helper tool.ttm
In case of the remote API, have a look at this page
Cheers
yes, you can do this, but in that case V-REP will need to run in synchronous mode, and each simulation step can be triggered by an external application (i.e. via ROS, or via the remote API).
In case of ROS, have a look at this simulation model: models/tools/rosInterface helper tool.ttm
In case of the remote API, have a look at this page
Cheers