I am working on creating a virtual simulation of a robotics lab. Within the lab, there is a standalone program that grabs video feed from a camera filming the robot.
I was wondering, is there a way to mimic this video feed in CoppeliaSim? I have set up a vision sensor in the desired position already, and I know that CoppeliaSim can record a video when a simulation is run. However, I am looking for a way to transmit the live vision sensor output to the standalone program for processing in real time, not post-processing.
Thanks!
Can I export vision sensor output in real time?
Re: Can I export vision sensor output in real time?
Have you tried calling sim.getVisionSensorImg (or sim.getVisionSensorCharImage) from an external (e.g. Python) program?