Page 1 of 1

can I record video with vision sensors?

Posted: 24 Nov 2021, 12:36
by wozxfdha
Hi,

I can get images from vision sensors, but can I record video with vision sensors?

Re: can I record video with vision sensors?

Posted: 24 Nov 2021, 15:34
by coppelia
Hello,

you can't directly generate a video from a series of vision sensor images. You'll have to use a third-party library/application for that. Have also a look at sim.getVisionSensorCharImage and sim.saveImage.

Cheers

Re: can I record video with vision sensors?

Posted: 25 Nov 2021, 04:19
by wozxfdha
Can I trigger the vision sensor to save images as a regular interval?

Re: can I record video with vision sensors?

Posted: 25 Nov 2021, 15:51
by coppelia
Yes,

simply read the image of a vision sensor (and then save it) in the sensing section of a non-threaded child script. This will produce one image in each simulation step.

Cheers