Ask Your Question
1

is amcl required together with laser_scan_matcher for navigation ?

asked 2013-03-12 00:29:54 -0500

micmac gravatar image

It it required to run amcl together with laser_scan_matcher to achieve navigation ?

laser_scan_matcher already gives the pose, would it be possible then to launch move_base alone and set initial pose and 2D target in rviz ? I use the 2dnav_neato node that loads the map server, amcl, and move_base. So I thought I could remove amcl and leave only laser_scan_matcher...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-12 01:14:41 -0500

jodafo gravatar image

updated 2013-03-12 01:21:19 -0500

Afaik laser_scan_matcher is just a scan to scan matcher. That means it updates the pose based on the current scan and the previous scan(s). AMCL on the other hand uses a map to perform localization (also it is a monte carlo approach and not just plain scan matching/registration).

scan to scan has the disadvantage that it will likely suffer from drift due to sensor noise, meaning you dont have fixed reference point for your nav goal as you don't have a map.

if the reason for you trying to avoid AMCL is that you dont want to map in beforehand, maybe try a setup with one of the SLAM frameworks available in ROS. I'd suggest gmapping or hector SLAM to do so.

But to answer your question, yes it is possible. One example that might help you could be the youbot navigation stack: http://youbot-store.com/libraries/19/software.aspx

edit flag offensive delete link more

Comments

I managed to make a good map with laser_scan_matcher and gmapping, but I'm having trouble doing navigation using the scan matcher with amcl and the existing map. my goal is trying to do navigation without odometry, but it doesn't work yet. I will look at your link, thanks.

micmac gravatar imagemicmac ( 2013-03-12 04:15:10 -0500 )edit

haved you solved your problem? I used hector_slam to successfully build a map only with a laser scan. then, use laser_scan_matcher to fake the odometry for amcl from that laser scan and now, the amcl result is OK. But when I insert the move_base, problem occured:

Tarantula-7 gravatar imageTarantula-7 ( 2016-05-21 04:03:27 -0500 )edit

63662615.549465621]: Costmap2DROS transform timeout. Current time: 1463662615.5494, global_pose stamp: 1463080943.2246, tolerance: 2.0000 I have tried my best to solve, but still no ideas.If you have any good suggestions, I would be very grateful

Tarantula-7 gravatar imageTarantula-7 ( 2016-05-21 04:05:20 -0500 )edit

@Tarantula-7 Im doing the same thing. But the laser _scan_matcher doesnt work. It says

Error in scan matching
Invalid number of rays: 36000
Bill5785 gravatar imageBill5785 ( 2017-03-11 21:23:02 -0500 )edit

What device you used? I have tried Hokoyu UTM-30LX-EW and RPLIDAR A2, both all right

Tarantula-7 gravatar imageTarantula-7 ( 2017-03-11 21:47:30 -0500 )edit

@Tarantula-7 Im using velodyne. Is your RPlidar 360 degree scan?

Bill5785 gravatar imageBill5785 ( 2017-03-12 21:57:55 -0500 )edit

not sure it can be used in 3D LiDAR or not...

Tarantula-7 gravatar imageTarantula-7 ( 2017-03-13 00:09:44 -0500 )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

Stats

Asked: 2013-03-12 00:29:54 -0500

Seen: 1,228 times

Last updated: Mar 12 '13