Hello,
I am trying to make a video record of the simulation using a python script but I cannot find how to do it using the new API (RemoteAPIClient), Using the old API (sim.simxStart) it was possible. My question is, is it possible to do it using the new API ?
Doing it manually (https://manual.coppeliarobotics.com/en/aviRecorder.htm) is not a possibility for me.
Thanks in advance!
Record a simulation video using python
Re: Record a simulation video using python
Hello,
Can you show us the code that used to work with the legacy remote API?
With the ZeroMQ remote API, you have several possibilities. Easiest would be to stream all individual images captured by a vision sensor via sim.getVisionSensorImg. See also the demo scripts in programming/zmqRemoteApi/clients/python/:
Can you show us the code that used to work with the legacy remote API?
With the ZeroMQ remote API, you have several possibilities. Easiest would be to stream all individual images captured by a vision sensor via sim.getVisionSensorImg. See also the demo scripts in programming/zmqRemoteApi/clients/python/:
- synchronousImageTransmission.py
- imageStreaming.py
-
- Posts: 10
- Joined: 23 Oct 2017, 20:19
Re: Record a simulation video using python
Thanks a lot for the fast reply.
I have searched for the scripts using the legacy code, but unfortunately I cannot find it, but I think it was the same as you have suggested and probably I made the mistake.
I have searched for the scripts using the legacy code, but unfortunately I cannot find it, but I think it was the same as you have suggested and probably I made the mistake.