Navigation Doesn't work
I am trying to follow a simple tutorial of building 2d map, but encountered some problems.
In RVIZ, the indicator of my robot seems flying around and the navigation target doesn't work. The robot just wouldn't move.
I am using the gazebo simulator of turtlebot.
Step by Step commands:
roslaunch turtlebot_gazebo turtlebot_world.launch
roslaunch turtlebot_teleop keyboard_teleop.launch
roslaunch turtlebot_rviz_launchers view_navigation.launch
roslaunch turtlebot_gazebo gmapping_demo.launch
roslaunch turtlebot_gazebo amcl_demo.launch
The demo I am following: https://youtu.be/B0s6dSxF95c
Based solely on the filenames, I am assuming that you are running both amcl and gmapping. Gmapping should be sufficient for map generation, and then you should use amcl on the generated map. There is no real use of amcl and gmapping running at the same time.