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

laser_scan_matcher run problems

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

Astronaut gravatar image

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

joq gravatar image


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



What ROS distribution are you using? What operating system?

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

Im using fuerte and Ubununtu.10.4. Any help?

Astronaut gravatar image Astronaut  ( 2012-07-21 07:58:08 -0600 )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 -0600 )edit

1 Answer

Sort by » oldest newest most voted

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

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


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 -0600 )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 -0600 )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: 2012-07-21 06:16:24 -0600

Seen: 1,308 times

Last updated: Nov 02 '12