hello
how can i setup connection with vrep via 2 clients simultaneously ?
setup connection with vrep via 2 clients simultaneously
-
- Posts: 3
- Joined: 25 Feb 2020, 18:05
Re: setup connection with vrep via 2 clients simultaneously
Can you be more clear in what you want to achieve?
Do you mean two remote API clients?
Do you mean two remote API clients?
-
- Posts: 3
- Joined: 25 Feb 2020, 18:05
Re: setup connection with vrep via 2 clients simultaneously
i have 2 c++ projects . one is for line tracing and the other is for collision avoidance and self-balance . is it possible to connect them to vrep simultaneously ? if yes how ?
Re: setup connection with vrep via 2 clients simultaneously
I think you should start by reading this https://www.coppeliarobotics.com/helpFi ... erview.htm, ive never connected with c++ but ive done a ton with matlab and i´m guessing its similar.
Re: setup connection with vrep via 2 clients simultaneously
Yes, you can. But it depends what you want to use for connection... the legacy remote API, the B0-based remote API, BlueZero, ROS, etc.?
Cheers
Cheers
-
- Posts: 3
- Joined: 25 Feb 2020, 18:05
Re: setup connection with vrep via 2 clients simultaneously
i am trying to use the legacy remote API . how can i do that ?
Re: setup connection with vrep via 2 clients simultaneously
With the legacy remote API, you need to start a remote API server service on the CoppeliaSim side, for every external connection. By default, a remote API server service is automatically started on port 19997, but you can start others with:
Cheers
Code: Select all
simRemoteApi.start(portNb,1300,fals,true)