Virtual Machine usb_cam pkg, When I run two camera in same time it returns me Device Busy for one node, Why?
Hi all robotters. I am using usb_cam pkg. I used on my Raspi3B+. I installed ubuntu 18.04 image on it. My launch file for usb_cam worked properly. But I did not calibrated my cams very well because it was so slow.
So i installed Virtual Machine. I installed Ros industrial demo image. And i installed usb_cam on it. usb_cam works very well for one camera. But If i use another terminal or a launch file i get errors. It returns me Device Busy. But the problem is my OS shows me two video devices.
$: ls /dev/video*
returns me video0 and video1. So i pass them into a launch file. Roscore is running allways. Even i use two terminal like:
$: rosrun usb_cam usb_cam_node video:=/dev/video0 --> Terminal 1
$: rosrun usb_cam usb_cam_node video:=/dev/video1 --> Terminal 2
When i run second terminal it returns me device busy error.
This video is what i did: https://filebin.net/35p9mai7p36ful0h
Anyone Help ME? What's wrong? :(
Could you provide your console output too. Also you can investigate which process is using your device by using
fuser /dev/videoX
command.https://filebin.net/35p9mai7p36ful0h
You can look at my ops in this video.