Atlas Robotics
Nav2Intermediate

Waypoint follower: visiting multiple points with or without stopping

Atlasbot · 17/8/2026 · 11 min read

Waypoint follower: visiting multiple points with or without stopping
NavigateToPose point by point versus continuous NavigateThroughPoses

All previous articles in Nav2 have dealt with going to a destination (NavigateToPose). This article is protected by copyright. All rights reserved. Real-world delivery robots often need to visit multiple points in succession on a mission — to pick up at point A, deliver at point B, return to the charging station at point C. This is the role of Waypoint Follower.

Key concepts

Two approaches to the multiple - point problem:

Method 1 — waypoint_follower calls NavigateToPose repeatedly:
    go to point 1 (stop completely) → go to point 2 (stop completely) → ...
    each point is a separate action; finish it before starting the next

Method 2 — NavigateThroughPoses (a separate Nav2 action):
    plan one continuous path THROUGH all points at once,
    without necessarily stopping at every intermediate point

Way 1 is appropriate when each point needs an action that actually stops (fetch, wait for confirmation — like Atlas A2's stop model in the showcase section of this page). Option 2 is appropriate when the points are just "points to cross" on the way to the end destination, no permanent stops — smoother paths, no stops - unnecessary boots.

How it works

waypoint_follower:
  ros__parameters:
    waypoint_task_executor_plugin: "wait_at_waypoint"
    wait_at_waypoint:
      plugin: "nav2_waypoint_follower::WaitAtWaypoint"
      waypoint_pause_duration: 3000   # stop 3 seconds at each point

The waypoint_task_executor plugin allows to mount a specific action at each stoppoint — the default is to stop waiting for a period of time (WaitAtWaypoint), but can be customized to real-world operations action (send "on arrival" signals to external applications, wait for manual — confirmation like the confirm mode mentioned in the Atlas A2 project content).

Regarding route type: Sequential — go through the point list and stop; Loop — go through the point list and return to the starting point, repeat indefinitely; Confirm — stop waiting for manual confirmation at each point before proceeding. These three routing types are not the available "catch is run" feature of pure nav2_waypoint_follower— which usually needs an additional application logic layer (application layer, as mentioned in Application Layer in AMR) that manages the waypoint list and calls waypoint_follower/NavigateThroughPoses to the desired routing type.

Summarized:NavigateToPose repeated through waypoint_follower = multiple independent tasks in succession, each completely completed (stopped) before the next task begins. NavigateThroughPoses = a single task with multiple intermediate landmarks, continuous non-stop path.

Technical details

Formulas

Overall completion times differ significantly between the 2 — approaches that directly extend the formula for estimating the time the task has been learned in the Application Layer in AMR:

Method 1 (stop completely at every point):
Total_time = Σ(Travel_time_i) + Σ(Stop_start_time_i) + Σ(Task_time_i)

Method 2 (continuous travel through the points):
Total_time = Continuous_travel_time_for_entire_route (no intermediate stop-starts)

Example: 3 points, each stop-start costs ~3 seconds (deceleration/acceleration)
Method 1 takes ~3×3=9 seconds longer than Method 2 just from stop-starts,
excluding actual task time at each point (if any)

Parameters

Way 1 (waypoint_follower)Option 2 (NavigateThroughPoses)
Stop at each pointYes, stop.No, I keep going.
MatchingReal-world operation required at each pointThe point is just an intermediate point.
PathMultiple separate segmentsA smoother continuous line

Practical applications

Intermission follows the action cancellation mechanism learned in ros2 action :

ros2 action send_goal /follow_waypoints nav2_msgs/action/FollowWaypoints "{...}" --feedback
# Ctrl+C to cancel, same mechanism as learned in ros2 action

FollowWaypoints is an action that has feedback (current point approaching, remaining points) and can be aborted mid-time at any time — critical for real-world applications when warehouse workers in need of intervention call the robot back in the middle of a running task, without waiting to complete the entire current waypoint list.

Practical example

Scenario: a delivery robot picks up goods at shelf A (stopping for actual pickup),
passes 2 intermediate points to avoid a busy area, then delivers to counter B

Correct design: combine both methods
- Pickup (shelf A) and delivery (counter B): use waypoint_task_executor
  with actual tasks (wait for confirmation that pickup/delivery is complete)
- The 2 intermediate points around the busy area are route markers only,
  requiring no stop, so include them in NavigateThroughPoses between shelf A and counter B

Result: the robot stops exactly 2 times (pickup and delivery) and moves smoothly
through the intermediate points without unnecessary stop-starts

Common mistakes

  • Using Option 1 (stopping each point) for the entire line when only 1 - 2 points need real-world — operations as examples above, consumes unnecessary stop - restart times at points that are intermediate landmarks only.
  • Using Way 2 (continuous) for real-world acquisition/delivery points, — the robot does not stop long enough to complete the operation, needing waypoint_task_executor with specific action at exactly those points.
  • Failure to properly process intermittent cancellation in real-world applications— ignores the feedback/rejection mechanism of action FollowWaypoints, leaving the operator unable to intervene flexibly when required.
  • Self-written Loop/Confirm route management logic without taking advantage of the available feedback of action—actionFollowWaypoints has provided enough information (current point, remaining points) to build application logic above, without needing to self-predict robot states otherwise.

Conclusion

Waypoint Follower extends Nav2 from one - point navigation to multiple points in succession, with 2 approaches serving 2 different needs — that stop for real-world operations, or travel continuously through points as intermediate landmarks. Combining the two in the right place, together with the Sequence/Loop/Confirm route management application layer, is how to build a complete real-world delivery task. This is the last article of Nav2— to show the full framework from Planner, Controller, Costmap, Behavior Tree, Recovery, to Waypoint Follower fully. The next section, Tuning Nav2, looks at how to fine-tune each parameter encountered throughout the series to suit specific robots and operating environments.

Get new articles and lessons by email

When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.

Unsubscribe any time with the link in each email. See our Privacy policy.

Waypoint follower: visiting multiple points with or without stopping — Atlas Robotics