Errors at launching laser_scan_matcher demo.launch

asked 2018-10-26 04:56:01 -0500

IvyKK gravatar image

Hi there, I'm trying to get the laser_scan_matcher working, I install in through:

$ cd [indigo catkin workspace directory]
$ git clone -b indigo
$ sudo apt-get install libgsl0-dev
$ catkin_make
$ roslaunch laser_scan_matcher demo.launch

(I realise that there isn't an option for kinetic, so according to the wiki, I cloned indigo)

So, when I got the above done, I roslaunch laser_scan_matcher demo.launch, it didn't work as in the site video instead, I got the following errors:

[ WARN] [1540545347.015043625, 1282836371.698945207]: Could not get initial transform from base to laser frame, "base_link" passed to lookupTransform argument target_frame does not exist. 
[ WARN] [1540545347.015540914, 1282836371.698945207]: Skipping scan
[ WARN] [1540545348.017075996, 1282836372.699450346]: Could not get initial transform from base to laser frame, Lookup would require extrapolation into the past.  Requested time 1282836371.698945207 but the earliest data is at time 
1282836371.749046097, when looking up transform from frame [laser] to frame [base_link]
[ WARN] [1540545348.017653701, 1282836372.699450346]: Skipping scan

Anyone knows how to solve this?

edit retag flag offensive close merge delete


I install in through: <shows git clone and catkin_make>

Please first tell us why you needed to build from source.

The package is released into Indigo and Kinetic and can be installed using apt-get for 3 different CPU architectures.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-26 05:36:05 -0500 )edit

I'm trying to clone it because I would like to use navigation stack, but I don't know have odometry. So I'm wondering if laser_scan_matcher can substitute odometry.

IvyKK gravatar image IvyKK  ( 2018-10-30 00:05:12 -0500 )edit

I have searched around and saw this, solution provided by mpai227 requiring adding codes into the would like to give it a try..

IvyKK gravatar image IvyKK  ( 2018-10-30 00:05:53 -0500 )edit