Edit on GitHub


Note : This instruction was tested on Ubuntu 16.04 and ROS Kinetic Kame version.

Warning : Make sure to run the Bringup instruction before performing Navigation.

Warning : The navigation uses the a data created in SLAM. Please make sure to have a map data.

Warning : Be careful when testing the robot on the table as the robot might fall.

The Navigation locates TurtleBot3 to the calculated position in the map by combining actual sensor data and anticipated position data.

Perform Navigation

Tip : The terminal application can be found with the Ubuntu search icon on the top left corner of the screen. Shortcut key for terminal is Ctrl-Alt-T.

[Remote PC] Launch the navigation file. If you have TurtleBot3 Burger,

  export TURTLEBOT3_MODEL=burger
  roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=$HOME/map.yaml

If you have TurtleBot3 Waffle,

  export TURTLEBOT3_MODEL=waffle
  roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=$HOME/map.yaml

[Remote PC] Launch the Rviz.

  rosrun rviz rviz -d `rospack find turtlebot3_navigation`/rviz/turtlebot3_nav.rviz

[Remote PC] Before starting the navigation, RViz should be updated with initial location and pose of TurtleBot3. To upate the initial data, follow the instruction below.

Every green arrow stands for an expected position of TurtleBot3. The laser scanner will draw approximate figures of wall on the map. If the drawing doesn’t show the figures incorrectly, repeat localizing the TurtleBot3 from clicking 2D Pose Estimate button above.

[Remote PC] If TurtleBot3 is localized, it will automatically create the path to the target position. In order to set a goal position, follow the instruction below.

Setting a goal position might fail if the path to the goal position cannot be created. If you wish to stop the robot before it reaches to the goal position, set the current position of TurtleBot3 as a goal position.

Reference doc: http://wiki.ros.org/turtlebot_navigation/Tutorials/Autonomously%20navigate%20in%20a%20known%20map