While my system is running the optical flow algorithm using the bottom camera and a LeddarOne, I would like to publish images from the bottom camera to ros topic for other purposes. I'm able to acquire images in ROS when the optical flow is disable, using the suggestions in If the optical flow is enable, when I launch the ROS application to acquire images, it exhibits an error saying:
Cannot open '/dev/video2': 16, Device or resource busy
Have anyone experienced this problem and solved it?
Thank you in advance,