Having trouble accessing camera /dev/video0 within docker container with OpenCV in ROS2.
I'm running a docker container on the drone that is trying to publish the camera output to a ROS2 topic. However, I can't seem to be able to access the camera from inside the docker container. I have run the container with --privileged but it doesn't seem to be able to access the camera and it keeps giving [opencv_cam]: cannot open device 0
Is there an easy workaround for this?
Edited by randomboi584