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

how to localize robot with lidar in ros melodic

asked 2020-01-21 08:57:43 -0600

wallybeam gravatar image

I was using laser_scan_matcher and AMCL nodes together to locate my robot in ROS Kinetic. Unfortunately, laser_scan_matcher is not working with ROS Melodic and AMCL is not enough. Are there any other packages to localize a robot by using lidars and odometry?

edit retag flag offensive close merge delete



What do you mean that laser scan matcher doesn't work with ROS melodic? There's no reason that it shouldn't

stevemacenski gravatar image stevemacenski  ( 2020-01-21 11:14:09 -0600 )edit

I mean it only has indigo and kinetic versions.

wallybeam gravatar image wallybeam  ( 2020-01-21 14:14:34 -0600 )edit

Kinetic is essentially the same as Melodic. It will work fine.

stevemacenski gravatar image stevemacenski  ( 2020-01-21 16:41:08 -0600 )edit

It is problematic to install laser-scan-matcher from source. I think somebody who use ros melodic, has to use laser odometry too. So, there must be a package to generate laser odometry. Are there any packages to localize a robot with lidar?

wallybeam gravatar image wallybeam  ( 2020-01-22 01:22:23 -0600 )edit

Why is it problematic to build from source? That sound be straight forward.

Have you asked the maintainers to release it for Melodic?

stevemacenski gravatar image stevemacenski  ( 2020-01-22 12:22:05 -0600 )edit

Well, I installed the laser_scan_matcher on ros-melodic and as you said it was straight forward. It was a bit scary to build a package from source but it works well. I am still confused if someone wants to use only sudo apt-get install command to install packages on ros-melodic how they can use navigation stack without laser odometry.

wallybeam gravatar image wallybeam  ( 2020-01-28 01:18:11 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-02 05:01:03 -0600

wallybeam gravatar image

I followed the guidance of the @stevemacenski and installed laser_scan_matcher with catkin_make_isolated. This package works very well in ROS Melodic. So to answer my own question, there aren't any packages like laser_scan_matcher in the ROS Melodic.

edit flag offensive delete link more


Hi could you provide some details on the installation. Thanks! I am trying to install it on ROS Melodic as well.

karry3775 gravatar image karry3775  ( 2020-04-15 12:44:54 -0600 )edit

Please follow the instructions given bellow this issue. I followed the same steps.

wallybeam gravatar image wallybeam  ( 2020-04-17 06:43:29 -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: 2020-01-21 08:57:43 -0600

Seen: 1,027 times

Last updated: Feb 02 '20