Ask Your Question
0

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

Comments

3

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
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 225 times

Last updated: Jan 25 '13