connect python to the simulator's remote API
Posted: 11 Mar 2024, 18:04
Hi!
When I Trying to communicate with the remote API of the V-REP/CoppeliaSim simulator, it gives me wrong message,like:
Traceback (most recent call last):
File "run.py", line 75, in <module>
environment.connect() # Connect python to the simulator's remote API
File "env.py", line 107, in connect
self.set_boolean_parameter(0, False)
File "env.py", line 184, in set_boolean_parameter
vrep.simxSetBooleanParameter(self.client_id,
File "/libs/sim/sim.py", line 665, in simxSetBooleanParameter
return c_SetBooleanParameter(clientID, paramIdentifier, paramValue, operationMode)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type
I use macOS 14 intel chip and with CoppeliaSim 4.5.1EDU, could you help me solve this problem? thanks!
Best regards,
Phil
When I Trying to communicate with the remote API of the V-REP/CoppeliaSim simulator, it gives me wrong message,like:
Traceback (most recent call last):
File "run.py", line 75, in <module>
environment.connect() # Connect python to the simulator's remote API
File "env.py", line 107, in connect
self.set_boolean_parameter(0, False)
File "env.py", line 184, in set_boolean_parameter
vrep.simxSetBooleanParameter(self.client_id,
File "/libs/sim/sim.py", line 665, in simxSetBooleanParameter
return c_SetBooleanParameter(clientID, paramIdentifier, paramValue, operationMode)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type
I use macOS 14 intel chip and with CoppeliaSim 4.5.1EDU, could you help me solve this problem? thanks!
Best regards,
Phil