How to view multiple cameras using cv_camera?
Hello, I am a ros newbie that is trying to work with cameras. My question is how can I scale up the use of cv_camera so that I can use multiple cameras at the same time? My understanding is that since cv_camera will try to open the device specified by the device_id parameter, I cannot try to run multiple instances of the node since it will just refer to the same parameter.
Just to test this theory, I tried to run 'rosrun cv_camera cv_camera_node 0' and 'rosrun cv_camera cv_camera_node 1' with two cameras connected, but they just showed the same device. Any insight or advice would be greatly appreciated.
UPDATE: The solution was to use rosrun and specify the device name and a new node name using parameters: e.g. 'rosrun cv_camera cv_camera_node __name:=test _device_id:=1'