TurtleBot3 Localization: Check the Pose Before Sending a Nav2 Goal

TurtleBot3 Burger with stacked black decks, two wheels, exposed wiring, top-mounted lidar and paired front ultrasonic transducers.

Before tuning a TurtleBot3 planner, check its position on the map. Set the initial pose in RViz2, match its heading to the physical robot, and see whether live lidar readings line up with mapped walls. A misplaced starting estimate deserves attention before another driving goal.

This preflight follows the ROBOTIS navigation workflow and Nav2’s Jazzy physical-robot tutorial. It assumes an installed physical TurtleBot3 running ROS 2/Nav2 with a saved map—not simulation or ROS 1/Noetic. Use bringup instructions for your installed distribution and model.

Hero: historical 2020 TurtleBot3 Burger example, not a reference for today’s stock sensors. Kuscu0 / Wikimedia Commons · CC BY-SA 4.0 · resized.

Separate the map, starting pose and goal

The map describes the room. The initial pose tells localization where the robot is now, including its heading. The goal specifies where it should finish and which way it should face. Loading a map does not supply either pose.

Select the saved map YAML for the actual room. Do not change its resolution or obstacle thresholds to compensate for a misplaced robot marker.

Look at the robot’s position relative to recognizable walls or corners. Choose 2D Pose Estimate, click that position in RViz2, then drag the arrow in the robot’s actual facing direction. This initializes AMCL in the documented workflow.

Compare live lidar returns with the saved boundaries. ROBOTIS advises repeating the estimate until the scan overlays the map. Check heading as carefully as position.

Green pose particles spread across a colored map visualization in ROBOTIS documentation.
Localization illustration: spread particles. ROBOTIS · CC BY 4.0.

Clear the floor before refining the estimate

Before any motion, clear the space, supervise the robot and have a known working stop method ready. ROBOTIS warns that movement and rotation can be unexpected. Do not proceed in an unsafe space.

The manufacturer next uses brief back-and-forth keyboard teleoperation to gather observations and narrow the estimate. Watch for green pose particles concentrating while lidar remains aligned. These documentation illustrations show that pattern; a tight cluster alone does not prove safe navigation.

Green pose particles concentrated near the robot marker in ROBOTIS documentation.
Localization illustration: concentrated particles. ROBOTIS · CC BY 4.0.

Before sending a goal, stop the keyboard teleoperation node with Ctrl+C in its terminal. ROBOTIS specifies this handoff to prevent multiple nodes publishing conflicting cmd_vel values.

Then request a deliberate move

Select Navigation2 Goal in ROBOTIS’s instructions, or Nav2 Goal in the linked Nav2 tutorial. Click a nearby, clear destination and drag toward the desired final heading. Unlike the initial-pose tool, this requests travel: the robot can move immediately.

Supervise the attempt. If scan and map disagree, stop and revisit the map and pose before sending more goals. If they agree but navigation fails, investigate the remaining fault separately; localization preflight is not a cure for every navigation problem.

About Milo Reyes

Milo Reyes covers robotics, development boards, sensors and embedded systems for TVG Report. Milo focuses on how technologies fit together, what they enable and where their practical limits begin.

View all posts by Milo Reyes →