Fail to set stepping mode for the remote API server service through"sim.simxSynchronous"

Typically: "How do I... ", "How can I... " questions
Post Reply
Hacher
Posts: 16
Joined: 28 Nov 2024, 02:00

Fail to set stepping mode for the remote API server service through"sim.simxSynchronous"

Post by Hacher »

I'm trying to set the stepping mode for the remote API server service in external python script through the api function "simxSynchronous" so that I can control the simulation step by step.However it didn't work, and the return code of the simxSynchronous function is 8.I'm sure that right paramerters were input to the function and the communication between server and application was built correctly.

Looking forward your reply.
coppelia
Site Admin
Posts: 10723
Joined: 14 Dec 2012, 00:25

Re: Fail to set stepping mode for the remote API server service through"sim.simxSynchronous"

Post by coppelia »

Hello,

you are using the legacy remote API, which is deprecated since several years. Make sure to use the ZeroMQ remote API, which is much easier to use, more flexible, faster, and supports all regular API functions.
what version of CoppeliaSim are you using?

Cheers
Post Reply