Atlas Robotics
Lesson 7/9 · about 14 min

Hybrid architectures in real robots

The hybrid architecture isn't just a textbook diagram: almost every modern autonomous robot is organized this way, even if each manufacturer names the layers differently. This lesson places four kinds of robot into the three-layer frame, then looks closely at one case with real numbers: the Nav2 navigation system on the Atlas robot.

After this lesson you will

  • Recognize the hybrid layers in a humanoid, a drone, a planetary rover and an indoor mobile robot
  • Explain why each layer runs at a different rate, using numbers from a real configuration
  • See that layers can live on different computers, and what that implies

Four robots, one frame

Reactive layerSequencing layerPlanning layerInteraction layer
HumanoidKeep balance, track joint trajectories, pull back on hard contactStep sequence: walk to the table → reach → grasp → lift"Get a cup from the kitchen": where to go, which hand, how to graspListen, speak, gesture
DroneKeep level, hold altitude, dodge obstacles right aheadTake off → point 1 → photos → point 2A route covering the field, recomputed for strong wind or battery drainReport battery and no-fly zones to the pilot
Planetary roverStop on excessive tilt or wheel sinkageDrive short legs, stop to image, check, continueChoose a safe route to the target on the terrain map; most science planning is done by the team on EarthSend images, receive daily plans, because signals take many minutes
Indoor mobile robotFollow the path, avoid peoplePlan path → follow → recover if stuckMap, localization, path to goalScreens, status displays

The planetary rover clearly shows layering driven by circumstances: since signals between planets take many minutes, humans can't drive directly; the reactive (safety) layer must be on the rover, while much of the big-picture planning can sit on Earth.

A case with numbers: Nav2 on the Atlas robot

Nav2 is a widely used open-source navigation system for ROS 2 mobile robots. Placing its blocks into the hybrid frame:

LayerNav2 blocks
InteractionRViz, goal commands (the navigate_to_pose action)
SequencingBT Navigator: a behavior tree splitting "go to goal" into steps
PlanningPlanner server, global costmap, map, AMCL (localization)
ReactiveController server, local costmap, recovery behaviors (spin, back up, wait)

The numbers below come from the Atlas robot's Nav2 configuration in the ROS 2 & Nav2 course and Nav2's default behavior tree:

BlockParameterValueWhy
ReplanningRateController in the default behavior tree1 HzWalls don't move; planning over the whole map is costly
Global costmapupdate_frequency1 HzServes the planning layer
Local costmapupdate_frequency10 HzFast enough to see someone step out
Controllercontroller_frequency20 HzA new velocity every 50 ms

Worked example: the robot's top speed is 0.5 m/s. At 20 Hz, it travels 0.5 × 0.05 = 0.025 m between two decisions. At 1 Hz it would be 0.5 m, nearly a whole robot length: someone stepping out in that gap gets hit before the robot "sees" them. The 20× gap between the reactive and planning rates is the signature of a hybrid architecture.

Layers on different machines

On the real Atlas C1 robot, the "brain" spans three machines: an ESP32 microcontroller holds each wheel's speed; the onboard computer reads the LiDAR and computes kinematics; a separate PC over Wi-Fi runs all of Nav2. The split makes sense for computing power, but it has a consequence: Nav2's reactive layer sits across the Wi-Fi link. If the network is slow, the reflexes are slow. The robot compensates with a watchdog running on the robot itself: no new command within a time limit, and it stops.

Humanoids and drones usually can't accept this risk: their balance loops always run on the robot, right next to the hardware, because one cycle late means falling.

Check yourself

On a planetary rover, what must be on board and what can be on Earth? Why?

The reactive safety layer (stop on tilt, on sinkage) must be on board because signals take many minutes; the big science planning can be done by the team on Earth.

Which layer does Nav2's BT Navigator correspond to?

The sequencing layer: it splits the mission into steps and selects which blocks run when.

At 0.5 m/s, how far does the robot travel between decisions at a 20 Hz controller rate? At 5 Hz?

20 Hz: 0.025 m. 5 Hz: 0.1 m.

Why shouldn't a humanoid run its balance loop on a remote computer over Wi-Fi?

That loop must be extremely fast and regular; unpredictable network latency would make the robot fall. Critical reactive layers must sit next to the hardware.

Hybrid architectures in real robots · Module 1: Architectures: the software engineering of intelligence — Atlas Robotics