ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Unused argument problem when launching /etc/ros/openni_head.launch on PR2 Hydro

asked 2013-10-08 03:37:43 -0500

Albert K gravatar image

updated 2016-10-24 09:03:29 -0500

ngrennan gravatar image

When I tried to launch the OpenNI Kinect driver on PR2, I do:

roslaunch /etc/ros/openni_head.launch

And then I got the following error message:

unused args [name] for include of [/opt/ros/hydro/share/openni_launch/launch/includes/manager.launch]

Nothing was started.

Here is the openni_head.launch file. I think that the problem is from line 47~50:

  <include file="$(find openni_launch)/launch/includes/manager.launch">
    <arg name="name" value="$(arg manager)" />
    <arg name="debug" value="$(arg debug)" />

After I omitted the line "<arg name="name" value="$(arg manager)"/>", I get another error:

[FATAL] [WallTime: 1381238959.313747] manager.launch has moved to rgbd_launch! Replace "$(find openni_launch)/launch/includes/manager.launch" with "$(find rgbd_launch)/launch/includes/manager.launch.xml". This notice will be removed in ROS Indigo
[FATAL] [WallTime: 1381238959.424237] device.launch has moved to openni_launch! Replace "$(find openni_launch)/launch/includes/device.launch" with "$(find openni_launch)/launch/includes/device.launch.xml". This notice will be removed in ROS Indigo
[FATAL] [WallTime: 1381238959.470131] processing.launch has moved to rgbd_launch! Replace "$(find openni_launch)/launch/includes/processing.launch" with "$(find rgbd_launch)/launch/includes/processing.launch.xml". This notice will be removed in ROS Indigo
================================================================================REQUIRED process [manager_deprecated-1] has died!
process has finished cleanly
log file: /home/pr2admin/.ros/log/29e33790-3011-11e3-9aea-001517ebc33d/manager_deprecated-1*.log
Initiating shutdown!

Then I followed the instruction and replace "$(find openni_launch)/launch/includes/manager.launch" with "$(find rgbd_launch)/launch/includes/manager.launch.xml".

Here's another error I got:

included file [/opt/ros/hydro/share/rgbd_launch/launch/includes/manager.launch.xml] requires the 'name' arg to be set

Okay...let's add it back again. And then I got another error:

included file [/opt/ros/hydro/share/rgbd_launch/launch/includes/manager.launch.xml] requires the 'num_worker_threads' arg to be set

Well...can anyone provide a workable launch file for running Kinect driver?

My PR2 is running on ROS Hydro. Thanks for any help~

edit retag flag offensive close merge delete



Is there a reason you are not using "openni_launch openni.launch" similar to here:

jdorich gravatar image jdorich  ( 2013-10-08 13:45:00 -0500 )edit

Good idea! I just tested the openni.launch in openni_launch package. There are some transform errors such that the PointCloud data can't be transformed to the base_link. After checking the doc website, I'll try to set some of the parameters to make the transform work. Thanks~

Albert K gravatar image Albert K  ( 2013-10-11 00:29:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-11 20:25:27 -0500

Albert K gravatar image

updated 2013-10-11 20:28:11 -0500

Thanks to @jdorich. I've modified the launch file based on openni.launch in openni_launch package so that it can run on PR2 Hydro correctly.

In case that someone got the same problem, here is the file.

The <!--###MODIFIED###--> comment means that the following line is where I comment out or add a new line.

edit flag offensive delete link more


Link is dead, could you please provide any hint for solving the issue? Would be real nice. Thx.

honky gravatar image honky  ( 2014-05-10 04:53:39 -0500 )edit

dead link, please send it in some link where nobody can change the info ;)

silgon gravatar image silgon  ( 2014-06-14 10:30:10 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2013-10-08 03:37:43 -0500

Seen: 2,749 times

Last updated: Oct 11 '13