On Linux x64 I am trying to connect several Python processes to V-Rep.
The first successfully connects but the other ones are rejected with 2 errors: No value + Timeout.
Even the simpleTest.py sample fails to connect twice. Example:
Code: Select all
# TERMINAL 1
$ python simpleTest.py
Program started
Connected to remote API server
('Number of objects in the scene: ', 15)
('Mouse position x: ', 1161)
[... and so on...]
Code: Select all
# MEANWHILE, ON TERMINAL 2
$ python simpleTest.py
Program started
Connected to remote API server
('Remote API function call returned with error code: ', 3)
Program ended
Code: Select all
V-REP_PRO_EDU_V3_3_2_64_Linux/programming/remoteApiBindings/lib$ make
gcc -I../../include -I../../remoteApi -Wall -DNON_MATLAB_PARSING -DMAX_EXT_API_CONNECTIONS=255 -fPIC -D__linux -c ../../remoteApi/extApi.c -o extApi.o
../../remoteApi/extApi.c: In function ‘_communicationThread’:
../../remoteApi/extApi.c:1813:16: warning: variable ‘crc’ set but not used [-Wunused-but-set-variable]
simxUShort crc,pureDataOffset0;
^
gcc -I../../include -I../../remoteApi -Wall -DNON_MATLAB_PARSING -DMAX_EXT_API_CONNECTIONS=255 -fPIC -D__linux -c ../../remoteApi/extApiPlatform.c -o extApiPlatform.o
gcc extApi.o extApiPlatform.o -o lib/remoteApi.so -lpthread -ldl -I../../include -I../../remoteApi -Wall -DNON_MATLAB_PARSING -DMAX_EXT_API_CONNECTIONS=255 -fPIC -D__linux -lpthread -ldl -shared