Launching a node two times with same namespace
Hi, I am trying to generate left and right images from 2 webcameras. The two images generated topics are then passed to stereo image proc package for disparity and point cloud generation. However for this the namespace of left and right images should be same. The launch file is https://drive.google.com/open?id=0B5T... . I want the images on topics like /camera/left/image_raw and /camera/right/image_raw however the topics now are /camera1/left/image_raw and /camera2/right/image_raw Thanks in advance!
Edit
@huanxiner, I got an error
roslaunch file contains multiple nodes named [/camera/image_view]. Please check all <node> 'name' attributes to make sure they are unique. Also check that $(anon id) use different ids. The traceback for the exception was written to the log file
Why don't you just put the two nodes in the same group?
@BotLover: could you please post your launch file here so if it gets removed from your Drive we still have it? Thanks.
@huanxiner, I got an error roslaunch file contains multiple nodes named [/camera/image_view]. Please check all <node> 'name' attributes to make sure they are unique. Also check that $(anon id) use different ids. The traceback for the exception was written to the log file
@BotLover: I updated your question with error from your comment.