I'm using coppeliaSim 4.6 rev 18 on Ubuntu 22.04 and coppeliasim-zmqremoteapi-client v2.0.4.
For this simple test, I'm using the default empty scene.
Code: Select all
#python
#sim.setStepping(True)
while True:
sim.startSimulation()
#sim.setStepping(True)
print("Started Simulation")
time.sleep(1)
i=0
print("stepping")
while i < 100:
i+=1
print(i, sim.getSimulationTime())
#sim.step()
sim.stopSimulation()
print("paused simulation")
time.sleep(1)