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

laser_scan_matcher run problems

asked 2012-07-21 06:16:24 -0500

Astronaut gravatar image

updated 2012-07-21 07:54:04 -0500

joq gravatar image

Hello

I installed and downloaded successfully the scan_tools stack . Than tried to run the demo example. Have done rosmake rviz rosbag tf without any error. Than when I tried to run de demo by roslaunch laser_scan_matcher demo.launch I got the following error.

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

Any help?

edit retag flag offensive close merge delete

Comments

1

What ROS distribution are you using? What operating system?

joq gravatar image joq  ( 2012-07-21 07:54:49 -0500 )edit

Im using fuerte and Ubununtu.10.4. Any help?

Astronaut gravatar image Astronaut  ( 2012-07-21 07:58:08 -0500 )edit

Same problem with ar_pose! The launch file has the same format as in rosbag tutorials. Does something have changed in rosbag?

oleo80 gravatar image oleo80  ( 2012-07-26 04:03:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
6

answered 2012-11-02 01:10:46 -0500

fherrero gravatar image

I had the same error using a launch like:

<node pkg ="rosbag" type="rosbag" name="rosbag" args="play -l $(find package)/data/file.bag"/>

And it seems now it works as:

<node pkg ="rosbag" type="play" name="rosbag" args="-l $(find package)/data/file.bag"/>
edit flag offensive delete link more

Comments

Right. The reason is that the rosbag binary is installed in /opt/ros/fuerte/bin as of Fuerte while rosrun and roslaunch only consider binaries in /opt/ros/fuerte/share/rosbag. I'm not sure if this behavior was intended but I at least cannot find it documented anywhere. Consider filing a ticket.

Lorenz gravatar image Lorenz  ( 2012-11-02 02:16:18 -0500 )edit

I got the same problem in amcl test. this solution solved the problem :) I'm using ubuntu 12.4 LTS & Fuerte.

Anas Alhashimi gravatar image Anas Alhashimi  ( 2014-03-24 23:57:03 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-07-21 06:16:24 -0500

Seen: 1,370 times

Last updated: Nov 02 '12