Ask Your Question
0

can't launch node of type [nodelet/nodelet]

asked 2015-03-04 22:22:47 -0500

dfk gravatar image

updated 2015-03-05 01:56:33 -0500

gvdhoorn gravatar image

I'm trying to run the 3dsensor.launch file for turtlebot, and I'm getting the following error message. Anybody know what might cause this? I'm running indigo on ubuntu trusty, and I built the turtlebot packages from source.

Thanks a bunch!

ubuntu@ubuntu:/opt/ros/indigo/include$ roslaunch turtlebot_bringup 3dsensor.launch 
... logging to /home/ubuntu/.ros/log/9645a064-c2e9-11e4-b1b2-001c260aee71/roslaunch-ubuntu-5938.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:43576/

SUMMARY

PARAMETERS
 * /camera/camera_nodelet_manager/num_worker_threads: 4
 * /camera/depth_rectify_depth/interpolation: 0
 * /camera/depth_registered_rectify_depth/interpolation: 0
 * /camera/disparity_depth/max_range: 4.0
 * /camera/disparity_depth/min_range: 0.5
 * /camera/disparity_registered_hw/max_range: 4.0
 * /camera/disparity_registered_hw/min_range: 0.5
 * /camera/disparity_registered_sw/max_range: 4.0
 * /camera/disparity_registered_sw/min_range: 0.5
 * /camera/driver/data_skip: 0
 * /camera/driver/debug: False
 * /camera/driver/depth_camera_info_url: 
 * /camera/driver/depth_frame_id: /camera_depth_opt...
 * /camera/driver/depth_registration: True
 * /camera/driver/device_id: #1
 * /camera/driver/diagnostics_max_frequency: 30.0
 * /camera/driver/diagnostics_min_frequency: 30.0
 * /camera/driver/diagnostics_tolerance: 0.05
 * /camera/driver/diagnostics_window_time: 5.0
 * /camera/driver/enable_depth_diagnostics: False
 * /camera/driver/enable_ir_diagnostics: False
 * /camera/driver/enable_rgb_diagnostics: False
 * /camera/driver/rgb_camera_info_url: 
 * /camera/driver/rgb_frame_id: /camera_rgb_optic...
 * /depthimage_to_laserscan/output_frame_id: /camera_depth_frame
 * /depthimage_to_laserscan/range_min: 0.45
 * /depthimage_to_laserscan/scan_height: 10
 * /rosdistro: indigo
 * /rosversion: 1.11.9

NODES
  /camera/
    camera_nodelet_manager (nodelet/nodelet)
    debayer (nodelet/nodelet)
    depth_metric (nodelet/nodelet)
    depth_metric_rect (nodelet/nodelet)
    depth_points (nodelet/nodelet)
    depth_rectify_depth (nodelet/nodelet)
    depth_registered_rectify_depth (nodelet/nodelet)
    disparity_depth (nodelet/nodelet)
    disparity_registered_hw (nodelet/nodelet)
    disparity_registered_sw (nodelet/nodelet)
    driver (nodelet/nodelet)
    points_xyzrgb_hw_registered (nodelet/nodelet)
    points_xyzrgb_sw_registered (nodelet/nodelet)
    rectify_color (nodelet/nodelet)
    rectify_ir (nodelet/nodelet)
    rectify_mono (nodelet/nodelet)
    register_depth_rgb (nodelet/nodelet)
  /
    depthimage_to_laserscan (nodelet/nodelet)

ROS_MASTER_URI=http://squirrel:11311

core service [/rosout] found
ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet]
ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet]
ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet]
ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet]
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-03-05 02:00:48 -0500

gvdhoorn gravatar image

updated 2015-03-05 07:40:33 -0500

ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet]

Do you have the nodelet package installed?

I'm running indigo on ubuntu trusty, and I built the turtlebot packages from source.

Have you done a rosdep check .. on your src directory (or at least, the directory containing the turtlebot nodes)? That should show any missing dependencies.


Edit:

roscd nodelet goes to share/nodelet

and is there a nodelet binary in lib/nodelet?

edit flag offensive delete link more

Comments

As far as I can tell, nodelet is installed. roscd nodelet goes to share/nodelet, and apt-get install nodelet says its already newest. I ran rosdep check .. in turtlebot/src, and got:

ubuntu@ubuntu:~/turtlebot/src$ rosdep check nodelet All system dependencies have been satisified

dfk gravatar image dfk  ( 2015-03-05 07:27:19 -0500 )edit

And you don't have a nodelet pkg in your catkin_ws that is shadowing the 'official' nodelet pkg, but doesn't have a nodelet node in it? An overlayed nodelet pkg would make the official one 'invisible' to roslaunch.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-05 07:38:46 -0500 )edit

Also: there are indigo versions of the turtlebot packages, so you might want to look at those, instead of building from source (but that would not really solve your issue).

gvdhoorn gravatar image gvdhoorn  ( 2015-03-05 07:39:52 -0500 )edit

Yeah I tried the pre-built turtlebot stuff but I'm running on a Raspberry Pi and some stuff is not supported on ARM (gazebo, in particular), so I had to filter out that stuff to make it work. And I don't see any reference to nodelet anywhere except the /opt/ros/indigo/share/nodelet directory

dfk gravatar image dfk  ( 2015-03-05 07:58:14 -0500 )edit

So you don't have nodelet in lib/nodelet?

gvdhoorn gravatar image gvdhoorn  ( 2015-03-05 08:02:07 -0500 )edit

I do have that. Sorry -- my bad before not mentioning it. There is /opt/ros/indigo/lib/nodelet

dfk gravatar image dfk  ( 2015-03-05 12:37:01 -0500 )edit

And it contains an executable "nodelet"

dfk gravatar image dfk  ( 2015-03-05 12:37:22 -0500 )edit
0

answered 2015-03-05 16:17:56 -0500

dfk gravatar image

Actually I think I just got it to work! I had to reset the kobuki udev rules:

source ~/turtlebot/devel/setup.bash; rosrun kobuki_ftdi create_udev_rules

With each new shell login. Weird. But seems to work now.

Thanks! David

edit flag offensive delete link more

Comments

O .. K ..; that seems really weird. But if things work for you ..

gvdhoorn gravatar image gvdhoorn  ( 2015-03-06 03:05:07 -0500 )edit

This is weird. 3dsensor.launch does not associate with any kobuki udev rules...

jihoonl gravatar image jihoonl  ( 2015-03-09 19:08:35 -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

Stats

Asked: 2015-03-04 22:22:47 -0500

Seen: 2,126 times

Last updated: Mar 05 '15