can't launch node of type [nodelet/nodelet]
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]
Asked by dfk on 2015-03-04 23:22:47 UTC
Answers
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
?
Asked by gvdhoorn on 2015-03-05 03:00:48 UTC
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
Asked by dfk on 2015-03-05 08:27:19 UTC
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
.
Asked by gvdhoorn on 2015-03-05 08:38:46 UTC
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).
Asked by gvdhoorn on 2015-03-05 08:39:52 UTC
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
Asked by dfk on 2015-03-05 08:58:14 UTC
So you don't have nodelet
in lib/nodelet
?
Asked by gvdhoorn on 2015-03-05 09:02:07 UTC
I do have that. Sorry -- my bad before not mentioning it. There is /opt/ros/indigo/lib/nodelet
Asked by dfk on 2015-03-05 13:37:01 UTC
And it contains an executable "nodelet"
Asked by dfk on 2015-03-05 13:37:22 UTC
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
Asked by dfk on 2015-03-05 17:17:56 UTC
Comments
O .. K ..; that seems really weird. But if things work for you ..
Asked by gvdhoorn on 2015-03-06 04:05:07 UTC
This is weird. 3dsensor.launch does not associate with any kobuki udev rules...
Asked by jihoonl on 2015-03-09 19:08:35 UTC
Comments