Running multiple instances of V-Rep

Typically: "How do I... ", "How can I... " questions
Post Reply
rouhollah
Posts: 3
Joined: 22 Oct 2014, 16:02

Running multiple instances of V-Rep

Post by rouhollah »

Hi,

We are starting the simulation from a C++ program using the remote API. We tried to run multiple instances of V-Rep with different port numbers and connect to each instance using its corresponding port number. However, we were not successful in that. Can multiple instances of V-Rep work at the same time? Can we connect to the instances using remote API?

Regards
Rouhollah

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: Running multiple instances of V-Rep

Post by coppelia »

Hello,

yes, you can do that. But be careful when starting several instances of V-REP, since by default all instances will try to open a remote API port on 19997 (all instances will read the file remoteApiConnections.txt)

Cheers

rouhollah
Posts: 3
Joined: 22 Oct 2014, 16:02

Re: Running multiple instances of V-Rep

Post by rouhollah »

Thank you.

We implemented it and it is working fine. We changed the port number everytime we start an instance of V-Rep. Now we can run multiple simulations at the same time :)

Post Reply