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

Openni_launch failure / "cannot launch node of type [nodelet/nodelet]"

asked 2012-06-05 11:19:23 -0600

dinamex gravatar image

updated 2016-10-24 09:01:56 -0600

ngrennan gravatar image

Hi guys, I run Ubuntu 11.10 plus ROS electric (installed from source) on an Pandaboard ES and try to use a Kinectsensor with this setup. But when I fire up following command

$ roslaunch openni_launch openni.launch I get the following kind of failure:


ERROR: cannot launch node of type [nodelet/nodelet]: Cannot locate node of type [nodelet] in package

I tried to rebuild te packages by rosmake tf && rosmake and now i get a different failure message.


started roslaunch server http://129.73.14.14:53859/

SUMMARY

PARAMETERS * /rosdistro * /camera/driver/rgb_frame_id * /camera/disparity_depth_registered/min_range * /camera/driver/rgb_camera_info_url * /camera/depth_registered/rectify_depth/interpolation * /camera/driver/depth_frame_id * /camera/depth/rectify_depth/interpolation * /camera/disparity_depth/max_range * /rosversion * /camera/driver/device_id 
* /camera/driver/depth_camera_info_url 
* /camera/disparity_depth/min_range 
* /camera/disparity_depth_registered/max_range

NODES 
/camera/depth/ 
rectify_depth (nodelet/nodelet) 
metric_rect (nodelet/nodelet) 
metric (nodelet/nodelet) 
points (nodelet/nodelet) 
/camera/rgb/ 
debayer (nodelet/nodelet) 
rectify_mono (nodelet/nodelet) 
rectify_color (nodelet/nodelet) 
/ 
camera_nodelet_manager (nodelet/nodelet) 
camera_base_link (tf/static_transform_publisher) 
camera_base_link1 (tf/static_transform_publisher) 
camera_base_link2 (tf/static_transform_publisher) 
camera_base_link3 (tf/static_transform_publisher) 
/camera/ 
driver (nodelet/nodelet) 
register_depth_rgb (nodelet/nodelet) 
points_xyzrgb_depth_rgb (nodelet/nodelet) 
disparity_depth (nodelet/nodelet) 
disparity_depth_registered (nodelet/nodelet) 
/camera/ir/ 
rectify_ir (nodelet/nodelet) 
/camera/depth_registered/ 
rectify_depth (nodelet/nodelet) 
metric_rect (nodelet/nodelet) 
metric (nodelet/nodelet)

auto-starting new master 
process[master]: started with pid [11512] 
ROS_MASTER_URI=http://localhost:11311 
2;/home/panda/ros/openni_kinect/openni_launch/launch/openni.launch http://local1 setting /run_id to 5edfdd6c-b0a2-11e1-856e-2e607c264e01 
process[rosout-1]: started with pid [11527] 
started core service [/rosout] 
process[camera_nodelet_manager-2]: started with pid [11539] 
process[camera/driver-3]: started with pid [11540] 
process[camera/rgb/debayer-4]: started with pid [11541] 
process[camera/rgb/rectify_mono-5]: started with pid [11542] 
process[camera/rgb/rectify_color-6]: started with pid [11563] 
process[camera/ir/rectify_ir-7]: started with pid [11577] 
process[camera/depth/rectify_depth-8]: started with pid [11590] 
process[camera/depth/metric_rect-9]: started with pid [11606] 
process[camera/depth/metric-10]: started with pid [11622] 
process[camera/depth/points-11]: started with pid [11634] 
process[camera/register_depth_rgb-12]: started with pid [11647] 
process[camera/depth_registered/rectify_depth-13]: started with pid [11667] 
process[camera/depth_registered/metric_rect-14]: started with pid [11681] 
process[camera/depth_registered/metric-15]: started with pid [11708] 
process[camera/points_xyzrgb_depth_rgb-16]: started with pid [11723] 
process[camera/disparity_depth-17]: started with pid [11736] 
process[camera/disparity_depth_registered-18]: started with pid [11750] 
[camera/rgb/rectify_color-6] process has died [pid 11563, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-rgbg [camera/rgb/debayer-4] process has died [pid 11541, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-rgbg [camera/ir/rectify_ir-7] process has died [pid 11577, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-ir-g process[camera_base_link-19]: started with pid [11774] 
process[camera_base_link1-20]: started with pid [11791] 
[camera/driver-3] process has died [pid 11540, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-drig [camera/depth/points-11] process has died [pid 11634, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-depg process[camera_base_link2-21]: started with pid [11806] 
[camera/depth/metric_rect-9] process has died [pid 11606, exit code 255]. 
log files: /home/panda/.ros/log/5edfdd6c-b0a2-11e1-856e-2e607c264e01/camera-depg process[camera_base_link3-22]: started ...
(more)
edit retag flag offensive close merge delete

Comments

Are you sure that the packages "nodelet" and "tf" are properly installed? You can check for example: rospack find nodelet. It should return something like /opt/ros/electric/stacks/nodelet_core/nodelet.

Martin Peris gravatar image Martin Peris  ( 2012-06-05 16:41:12 -0600 )edit

Thank you for your comment. I checked if they are installed with rospack find nodelet (result : /home/panda/ros/nodelet_core/nodelet) and rospack find tf (result: /home/panda/ros/geometry/tf )

dinamex gravatar image dinamex  ( 2012-06-06 07:31:41 -0600 )edit

the different path is probably caused by the installation from source.

dinamex gravatar image dinamex  ( 2012-06-06 07:32:33 -0600 )edit

If you installed from source, the error messages make me suspect that the binaries for nodelet and static_transform_publisher are not built. Have you tried rosmake tf && rosmake nodelet ?

Martin Peris gravatar image Martin Peris  ( 2012-06-06 14:11:40 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-06 08:18:44 -0600

karthik gravatar image

Hi, I don't know your purpose of launching openni_launch in specific. But if you just want to get the pointclouds from the kinect. Then you may use

roslaunch openni_camera openni_node.launch

I see many posts on

roslaunch openni_launch openni.launch

doesn't work for many people. I have seen many posts here on the same. It would be great if these problems are consolidated in a troubleshooting section of the tutorial and make it work at that point. Any solution regarding the openni.launch is appreciated.

Thanks, Karthik

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-05 11:19:23 -0600

Seen: 1,325 times

Last updated: Jun 07 '12