Attention: Answers.ros.org is deprecated as of August the 11th, 2023. Please visit robotics.stackexchange.com to ask a new question. This site will remain online in read-only mode during the transition and into the foreseeable future. Selected questions and answers have been migrated, and redirects have been put in place to direct users to the corresponding questions on Robotics Stack Exchange. Additional details are available here.
If you give the (correct) pose estimation in rviz, you increase the chance that amcl will localize accurately robot actual location.
The robot location only updates if the particles have converged. If particles are still spreading, there is no guarantee that robot location will be updated.
AMCL gives the tf between map and odom, it gives estimated position of robot with reference to a known map. Hector slam, on the hand, doesnt use any known map; in navigation, hector slam is normally used to keep give tf from odom to baselink. So you cant simply replace amcl by hector slam for the purpose of robot localization.
If you give the (correct) pose estimation in rviz, you increase the chance that amcl will localize accurately robot actual location.
location.
The robot location only updates if the particles have converged. If particles are still spreading, there is no guarantee that robot location will be updated.
AMCL gives the tf between map and odom, it gives estimated position of robot with reference to a known map. Hector slam, on the hand, doesnt use any known map; in navigation, hector slam is normally used to keep give tf from odom to baselink. So you cant simply replace amcl by hector slam for the purpose of robot localization.