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

Revision history [back]

click to hide/show revision 1
initial version

Hi @Shivendra,

The difference you see between Gazebo and the map is actually the normal behaviour when you launch the navigation for the first time. Since you are using AMCL to localize the robot in the map, you need to provide AMCL with a first pose estimate in order to begin the localization process.

This can be done by clicking in the top Panel of Rviz named 2D Pose Estimate and clicking again in the map in the "real" pose the robot is placed in the Gazebo world. You will see how AMCL corrects its estimations and the Pose array provided significantly decreases the uncertainty.

Hi @Shivendra,

The difference you see between Gazebo and the map is actually the normal behaviour when you launch the navigation for the first time. Since you are using AMCL AMCL to localize the robot in the map, you need to provide AMCL with a first pose estimate in order to begin the localization process.

This can be done by clicking in the top Panel of Rviz named 2D Pose Estimate and clicking again in the map in the "real" pose the robot is placed in the Gazebo world. You will see how AMCL corrects its estimations and the Pose array provided significantly decreases the uncertainty.