Can I export vision sensor output in real time?

Typically: "How do I... ", "How can I... " questions
Post Reply
cleu892
Posts: 14
Joined: 16 May 2022, 13:09

Can I export vision sensor output in real time?

Post by cleu892 »

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!

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: Can I export vision sensor output in real time?

Post by fferri »

Have you tried calling sim.getVisionSensorImg (or sim.getVisionSensorCharImage) from an external (e.g. Python) program?

cleu892
Posts: 14
Joined: 16 May 2022, 13:09

Re: Can I export vision sensor output in real time?

Post by cleu892 »

fferri wrote: 16 May 2022, 14:20 Have you tried calling sim.getVisionSensorImg (or sim.getVisionSensorCharImage) from an external (e.g. Python) program?
Hi, no I haven't yet - I'll give that a try. Thank you!

Post Reply