Rviz in autonomous planning

I have a doubt regarding the RVIZ. Every time I launch the move_base node throughout the exercises, the position of the robot is not in the same place as in the gazebo. I don’t’ know whether the problem is from my side or not. If mine, how to correct it?

Hello @shravistakashyap,

That’s not an error, since the robot is not properly localized yet when you start the move_base node. You just need to use the 2D Estimation Pose tool that RViz provides in order to help localize the robot initially. Another option would be to modify this initial position from the amcl node, as explained here: https://www.youtube.com/watch?v=HmSdUagisAE


1 Like

Ok, thank you for the information