← All projects   /   Robotics
Robotics / PROJECT

Autonomous Mobile Robot Navigation & SLAM

Repository: turtlebot3-autonomous-navigation

PROJECT

Overview

I built a mapping, localisation and navigation workflow for TurtleBot3 Waffle in the Gazebo house world. SLAM Toolbox supplied the map for Nav2 testing; I also explored Cartographer and checked AMCL in RViz.

When Nav2 repeatedly failed at a doorway about 0.81 m wide, I recorded seven tests to understand the behaviour rather than continuing to tune parameters at random.

Implementation

  • Created maps with SLAM Toolbox and Cartographer, then used the SLAM Toolbox map for the doorway experiments.
  • Inspected the global planner, DWB local planner, costmaps and recovery behaviour using RViz, Foxglove and recorded ROS 2 data.
  • Tests 01–05 adjusted inflation, DWB critic weights, planning parameters and robot-radius settings. The doorway issue remained.
  • In Test 06, a rectangular footprint led the global planner to choose a narrow gap beside the mailbox. The DWB local planner could not follow that path safely, and the navigation attempt failed.
  • In Test 07, I restored a circular robot radius of 0.15 m and sent four intermediate goals through Nav2 Simple Commander. The recorded mission completed.

What changed after testing

The global planner could produce a path, but the DWB local planner could not execute it reliably near the mailbox. Changing the footprint created another unsafe route in Test 06.

For Test 07, I used four intermediate goals to guide the robot through the constrained area. That particular recorded Gazebo run succeeded; it does not establish a general success rate across repeated trials.

Test 06 and Test 07

Compare the rectangular-footprint failure with the final recorded waypoint run.

Test 06 RViz screenshot showing the robot near the mailbox gap

Rectangular footprint: the global planner selected a narrow lateral gap; the DWB local planner stalled.

Waypoint mission

The Simple Commander script sends four map-frame goals: (4.5, 5.3), (3.0, 2.5), (4.5, 5.3), and (0.3, 3.0). Goals 1 and 3 are the same location. These are planned target positions, not a measured trajectory.

Screenshots and recordings

CONTACT

Let’s talk robotics.