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

Launch two kinects with single openni.launch

asked 2012-12-18 04:10:17 -0500

ros_vino gravatar image

updated 2012-12-18 04:12:10 -0500

It is easy to start two kinects separately on two different Terminals with the launch files for two kinects by editing the following kinect1 launch file

*<arg name="camera" default="camera1"/>

<arg name="device_id" default="#1"/>*

kinect2 launch file

*<arg name="camera" default="camera2"/>

<arg name="device_id" default="#2"/>*

I can able to launch two nodes of type openni_node(openni_camera pkg) from single launch file
And i want to do the same with the node of type nodelet(openni_launch pkg)

Spent 2 days with this but failed

Need clear insights on this stuff!!

edit retag flag offensive close merge delete



You don't need to edit the args. As the name says they are arguments. You can just pass different args to the same launch file and you will get two different launches.

dornhege gravatar image dornhege  ( 2012-12-18 04:59:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-25 23:53:54 -0500

You can use one launch file which expects arguments that you have mentioned in the question as input. Then u can call the launch file twice with different arguments.

edit flag offensive delete link more

Question Tools


Asked: 2012-12-18 04:10:17 -0500

Seen: 275 times

Last updated: Jan 25 '13