Atlas Robotics

Robotics knowledge

Blog

Technical articles on embedded programming, ROS 2, SLAM, Nav2 and AMR/AGV — written from building real robots.

28 articles · ROS2 Navigation / Nav2

AMCL in Nav2: practical configuration of the amcl package
LocalizationIntermediate

AMCL in Nav2: practical configuration of the amcl package

What is the AMCL Problem? This unit is a practical section: how the amcl node in Nav2 is configured, and how the 'Set Pose' step is important at boot time.

11 min read
EKF in Nav2: a two-layer local and global model
LocalizationAdvanced

EKF in Nav2: a two-layer local and global model

The EKF (Extended Kalman Filter) paper explains the algorithm at a general level. In the Nav2 real-world architecture, a common pattern is to run separate HAI EKF — one for odom, one for map — not a single EKF.

12 min read
RF2O: LiDAR odometry without wheel encoders
LocalizationAdvanced

RF2O: LiDAR odometry without wheel encoders

The encoder wheel is not the only source of odometry that can —RF2O estimate robot motion directly from two consecutive LiDAR scans, useful precisely when the wheel slides and the encoder lies.

11 min read
Odometry fusion: combining encoders, IMU and RF2O in one node
LocalizationIntermediate

Odometry fusion: combining encoders, IMU and RF2O in one node

The previous three articles introduced three separate sources of odometry: Encoder, IMU (via EKF), and RF2O. This article assembles all three into a robot localization real-world configuration, with the principle of selecting which source news field to use.

11 min read
The TF tree: debugging coordinate frames when Nav2 reports transform errors
LocalizationIntermediate

The TF tree: debugging coordinate frames when Nav2 reports transform errors

The transformation article explains the theory of sequential transformations. Here's the practice: when Nav2 reports an error "could not transform," the view frames and tf2 echo tools are where to start looking for the cause, not guessing the code.

11 min read
Configure Nav2 for a differential-drive robot: from params.yaml to launch
Nav2Advanced

Configure Nav2 for a differential-drive robot: from params.yaml to launch

The articles in this special issue explain each of the separate Nav2 concepts — Planner, Controller, Costmap. This piece conflates them together into a real-world params.yaml file, booting up a real robot differential-drive.

12 min read
Planners in Nav2: NavFn, SmacPlanner and ThetaStar
Nav2Intermediate

Planners in Nav2: NavFn, SmacPlanner and ThetaStar

The Path Planning article explains A* and Dijkstra at the general algorithm level. planner_server in Nav2 is where those algorithms become alternative plugins — each at a different trade-off.

11 min read
Controllers in Nav2: how DWB and MPPI follow paths differently
Nav2Intermediate

Controllers in Nav2: how DWB and MPPI follow paths differently

The Path Following article introduces simple Pure Pursuit. controller_server in Nav2 uses much more sophisticated algorithms — DWB and MPPI — to both track and dodge dynamic obstacles at the same time.

12 min read
Costmaps: from a raw occupancy grid to a layered cost map
Nav2Intermediate

Costmaps: from a raw occupancy grid to a layered cost map

The occupancy grid has only 3 values (free/occupied/unknown). Costmap adds an important concept: the near obstacle area is more 'dangerous' than the far area, although both are free — by the inflation class.

11 min read
Behavior trees: how bt_navigator coordinates Nav2
Nav2Advanced

Behavior trees: how bt_navigator coordinates Nav2

The path calculus, controlled path following — but who decides 'if path following fails what to do next'? The Behavior Tree is a high-level coordination brain that splits the Planner/Controller/Recovery into a logical explicit processing flow.

12 min read
Recovery behaviors: what a robot should do when it gets stuck
Nav2Intermediate

Recovery behaviors: what a robot should do when it gets stuck

Planner cannot find path, Controller reports jam — Nav2 does not stop for immediate intervention. Recovery Behaviors is the practice of "trying it another way" before actually debugging the application layer.

11 min read
Waypoint follower: visiting multiple points with or without stopping
Nav2Intermediate

Waypoint follower: visiting multiple points with or without stopping

ToPose only goes to one point. Delivery robots need to visit multiple points in succession in a — Waypoint Follower and action ProseThroughPoses tackle this problem correctly.

11 min read
Blog — Atlas Robotics