CoppeliaSim control of various robots through remote API (Python) connection. UR5 industry-setting simulations.
Most, if not all, functions that involve manipulating an object in CoppeliaSim in any way (changing position, velocity, etc, etc.) require obtaining that object’s ‘handle’ with:
returnCode, handle = sim.simxGetObjectHandle(clientID, objectName, operationMode)
Certain conditions must be met for remote API connection to work, including:
Correct command in the child script of any object in the scene (connected to port 19999)
simRemoteApi.start(19999)
Simulation already running before executing a Python program