I’m hoping someone can help us.
We have an OpenMV H7, and we’re using it to do vision processing for the FIRST robotics league. We have it connected to a USB port, and sending tracking coordinates over serial link to the to RoboRio ( the processing cpu for FIRST robotics).
Everything is working well, but we want to be able to see the framebuffer of the camera as well as get serial data. We can’t seem to figure out how to do that.
We know that the OpenMV can be put in UVC mode, and then on linux /dev/video0 is available like all webcams.
In our case, though, we’re using a custom detection script, running as main.py on the OpenMV. When we plug the OpenMV into our USB port, we see a virtual com port in linux, but we do not see a video device.
FRC libraries have a camera server that expects a video source, so all we need is /dev/video0.
Is there a way to get a video feed of the framebuffer, available on /dev/video0 or similar, while also still running a custom script that’s sending data over the serial link?