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

Is it possible to force current robot position on the map (like the initial_pose of the navigation stack)?

asked 2012-01-27 00:21:43 -0600

matthieu nottale gravatar image

Does hector_slam have the capability to accept the current robot position on the map as input, like the initial_pose topic that the navigation stack subscribes to?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-01-27 00:33:49 -0600

updated 2012-01-27 00:34:14 -0600

Not at the moment, but I'll look into adding this in the next days. In the meantime, you can control the start pose via the parameters


as described in the parameter description. Do you want to set the start position and perform a map reset, or do you want to sort of manually correct the pose, keeping the map learned so far?

edit flag offensive delete link more


I'd like to reset the position while keeping the map. Useful when the robot is moved by the operator, or stopped and restarted at an other place.
matthieu nottale gravatar image matthieu nottale  ( 2012-01-31 02:46:18 -0600 )edit
I see, so ideally one would want to be able to switch off the mapping process and only resume once the initial pose ist set. I'll see if find the time to implement that :)
Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2012-01-31 19:12:19 -0600 )edit
That's the idea. This feature is an absolute requirement when trying to use SLAM in real use cases according to our experience. One that would be nice is a "relocalize" feature that would try to find the most probable robot position without a priori given a map and laser data.
matthieu nottale gravatar image matthieu nottale  ( 2012-01-31 19:58:54 -0600 )edit

+1 for the feature request. It is a must have in our case as well.

jdelbe gravatar image jdelbe  ( 2012-06-07 10:21:18 -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-01-27 00:21:43 -0600

Seen: 550 times

Last updated: Jan 27 '12