ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can cmvision run with multiple cameras on the same robot?

asked 2016-04-28 15:09:45 -0500

toddwf gravatar image

Hi, I have the cmvision package working with two different camaras, but when I try to bring up both of them simultaneously, the initial process (doesn't matter which one I bring up) dies.

To resolve this, I tried renaming the node. Both processes will then come up, but I only get message data (/blobs) from the instance I launch first. (I have two launch files)

Any idea why this might be happening and if there is a workaround?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-14 09:33:11 -0500

toddwf gravatar image

updated 2017-01-19 02:43:26 -0500

gvdhoorn gravatar image

the nearest I can tell, the answer is no. A workaround is to add another machine to process data for the other webcam.


per comments below, workspaces namespaces enable this

edit flag offensive delete link more

Comments

Can't you run both instances under different namespaces? With some suitable topic remapping, you should then be able to provide each instance their own input and output streams as well. Running multiple instances is actually a common use case.

gvdhoorn gravatar image gvdhoorn  ( 2016-09-15 08:59:52 -0500 )edit

thanks...I discovered namespaces after I wrote this.

toddwf gravatar image toddwf  ( 2017-01-18 15:56:35 -0500 )edit

So would you now change your answer? Because your current answer would seem to be wrong.

gvdhoorn gravatar image gvdhoorn  ( 2017-01-18 15:59:19 -0500 )edit

updated original

toddwf gravatar image toddwf  ( 2017-01-18 16:20:17 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-28 15:09:45 -0500

Seen: 163 times

Last updated: Jan 19 '17