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

Autonomous navigation using navigation stack and hector slam

asked 2013-08-15 23:40:54 -0500

gautam2410 gravatar image


I am trying to perform autonomous navigation using hector slam and the navigation stack, something similar to this ( ) or ( ) .

I have already seen this post ( ) but instead of working with a pre stored map I want the map to be generated using hector_mapping and simultaneously I am able to perform navigation, that to without using the robot's odometry.

I got hector slam working with hokuyo laser and was able to do mapping using just the laser.

So my doubts are:

  1. Is it possible to do this without using the robot's odometry and just using the odometry information from the tf that is being published by hector_mapping ( ) ?

  2. Does AMCL works only with static maps i.e. can AMCL perform localization on the maps being generated in real time ?

  3. Moreover do I need AMCL to perform localization in a dynamic map being generated using hector slam ? If, not then how exactly should I make this work without amcl.

I will be happy to provide any relevant info that may be required and I'm sorry for not publishing actual links as my karma is not enough.

Thank you for your time..

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-08-16 00:44:53 -0500

Procópio gravatar image

updated 2013-08-18 22:35:05 -0500

  1. yes, you can just forget about your robot's odometry, because hector_slam will provide it.
  2. I believe you cannot, for that purpose you would need a slam tool, as gmapping.
  3. You do not, you can just do navigation and localization using only hector_slam. Just do not use amcl.
edit flag offensive delete link more


Thank you for your answer...just wanted to confirm if I should exclude the odom frame while setting the frames for this?

gautam2410 gravatar image gautam2410  ( 2013-08-18 17:10:55 -0500 )edit

you should exclude the odometry frame created by your robot, and use the one provided by hector_slam. you need to make sure the name of the frames match the one expected by other nodes.

Procópio gravatar image Procópio  ( 2013-08-18 22:36:14 -0500 )edit

Did you get it working?

burf2000 gravatar image burf2000  ( 2017-01-19 06:35:02 -0500 )edit

I would be really happy to discuss your implementation with you, as I'm facing the same challenge right now

GuillaumeHauss gravatar image GuillaumeHauss  ( 2017-04-18 08:20:35 -0500 )edit

HI! I have been going around the ROS Answers forum trying to figure out how to have my robot car autonomously drive using hector slam. I was wondering if any of you have accomplished this already? Thanks!

KennyxD gravatar image KennyxD  ( 2020-11-05 13:28:39 -0500 )edit

Question Tools



Asked: 2013-08-15 23:40:54 -0500

Seen: 5,436 times

Last updated: Aug 18 '13