ROS 2: Zero to Robot  ยท  Final Chapter

Chapter 20: Final Industrial Architecture of ARCHO

From a Simple Node to a Complete Industrial Robot
Prerequisite: the whole book
Running project: ARCHO โ€” Final Version
Goal: seeing the full picture
Reading time: 90 to 110 minutes
What we'll cover in this chapter 20.1The journey you've traveled 20.2ARCHO's complete architecture โ€” from mission to motor 20.3ARCHO's seven layers, all together 20.4A full working day for ARCHO in the warehouse 20.5What's still open from here on 20.6The final golden sentence

20.1The journey you've traveled

We started this book with a simple question: what is a Node in ROS 2? Nineteen chapters later, you now know how a complete industrial robot โ€” from concept to real hardware โ€” is built. Before looking at the final architecture, let's review the path once more:

1. ROS 2 Architecture 2. Workspace and Package 3. Practical Communication 4. URDF and Xacro 5. TF2 6. RViz 7. Gazebo 8. ros2_control 9. Odometry and EKF 10. SLAM 11. Navigation2 12. Behavior Tree and Lifecycle 13. MoveIt 2 14. Multi-Robot 15. Docker and CI/CD 16. Jetson / RPi / ESP32 17. CAN Bus and EtherCAT 18. Sim-to-Real 19. QoS, DDS, Safety
๐Ÿง  Why this order mattered

Each chapter built on the previous one: without TF2 you couldn't understand RViz; without Gazebo and ros2_control, Nav2 wouldn't have made sense; without Odometry and SLAM, Navigation2 would have had nothing to work with; without Lifecycle Nodes, Nav2's architecture would have stayed incomplete; and without this final chapter, all of this would have remained mere theory rather than a real, safe product.

20.2ARCHO's complete architecture โ€” from mission to motor

flowchart TB M["Mission / User Goal"] --> BT["Behavior Tree"] BT --> P["Planner"] BT --> C["Controller"] P --> GP["Global Path"] C --> CV["cmd_vel"] CV --> RC["ros2_control"] RC --> GZ["Gazebo (Simulation)"] RC --> HI["Hardware Interface (Real)"] HI --> NET["CAN / EtherCAT / Serial"] NET --> MD["Motor Drivers"] MD --> MT["Motors"] MT --> ENC["Encoders"] ENC --> RL["robot_localization"] RL --> OD["Odometry"] OD --> SL["SLAM Toolbox"] OD --> AM["AMCL"] SL --> MO["map โ†’ odom TF"] AM --> MO MO --> N2["Navigation2"] N2 --> BT style BT fill:#3d4bf5,color:#fff style RC fill:#eef0ff,stroke:#3d4bf5 style RL fill:#eafaf3,stroke:#0e9e6e

And this core architecture is surrounded by the supporting layers below, which we built across the middle and final chapters:

InputFeeds into
LiDARSLAM / AMCL / Costmap
IMUrobot_localization
CameraPerception / Visual SLAM (if present)
Safety MCUWatchdog / E-Stop / Brake
Fleet ManagerMulti-robot missions
Docker + CI/CDRepeatable deployment

20.3ARCHO's seven layers, all together

LayerRelated ChapterResponsibility
1. Identity and basic communicationChapters 1-3Node, Topic, Service, Action, Parameter
2. Body and spaceChapters 4-7URDF/Xacro, TF2, RViz, Gazebo
3. Control and motionChapters 8-9ros2_control, Odometry, EKF
4. Environment awareness and path planningChapters 10-13SLAM, Nav2, Behavior Tree/Lifecycle, MoveIt 2
5. ScalabilityChapter 14Multi-Robot, Fleet Manager
6. Software deliveryChapter 15Docker, CI/CD
7. Hardware and industrial safetyChapters 16-19Jetson/RPi/ESP32, CAN/EtherCAT, Sim-to-Real, QoS/DDS/Diagnostics/Safety
๐Ÿ”ง Why this layered breakdown matters

On a real team, it's rare for one person to build all these layers. A software engineer focuses on layers 4 and 5, a mechanical engineer on layer 2, an electronics engineer on layer 7, and a DevOps engineer on layer 6. This book deliberately took you through layers 1 to 7 so you can hold a shared conversation with each of these roles โ€” exactly what's expected of a good robotics engineer or product manager.

20.4A full working day for ARCHO in the warehouse

Now let's see all these concepts play out in a real, complete scenario:

StepEventRelated Chapter
1ARCHO powers on; Bringup runs in order: power, MCU, drivers, sensors, Hardware Interface16, 18
2Lifecycle Manager activates Map Server, AMCL, Planner, and Controller in sequence12
3Fleet Manager assigns the mission "go to shelf 24" to ARCHO14
4The Behavior Tree hands the mission off to the Planner and Controller11, 12
5A worker crosses in front of ARCHO; the Local Controller corrects the path11
6A forklift blocks the aisle; the Behavior Tree requests replanning12
7ARCHO reaches the shelf; the MoveIt arm picks up the box using IK and a collision-free path13
8Throughout, the Safety Supervisor filters commands and Diagnostics reports system health19
9Battery runs low; the Behavior Tree cancels the mission and sends ARCHO to the charger12
10rosbag2 has recorded this entire scenario for later analysis18

20.5What's still open from here on

This book was a complete and coherent roadmap, but real industrial robotics always runs deeper than any single book. A few natural directions to keep learning:

AreaWhy it's worth learning
Advanced Perception (Point Cloud, Visual SLAM, Object Detection)For robots that need to recognize unknown objects
Docking and automatic chargingWithout this, a fleet isn't truly autonomous
Cybersecurity (SROS2)Once ARCHO connects to the corporate network, security is no longer optional
OTA (over-the-air updates)For managing dozens or hundreds of ARCHOs without a physical trip
Precise time synchronizationFor coordinating multiple sensors and multiple robots with millisecond accuracy
Industrial observability (Prometheus/Grafana)For managing a large fleet at real-world scale
๐ŸŒ A good starting point for your next step

If you want to keep going down this path, the most logical next step is to actually build a small version of ARCHO yourself โ€” even with a simple two-wheeled robot and a Raspberry Pi โ€” and implement Chapters 1 through 19 on top of it. Nothing replaces actually building the real thing.

20.6The final golden sentence

๐Ÿ“– The whole journey summed up in one sentence

A real industrial robot is a collection of correct decisions at every layer โ€” from correctly naming a TF frame to correctly designing a hardware safety layer; and ARCHO showed that ROS 2 is exactly the framework that turns these decisions into a coherent, reliable, and scalable system.

โœ… Final checkpoint
  • I can draw ARCHO's complete architecture, from mission to motor, on paper without looking at the book.
  • I know exactly what role each of the previous 19 chapters plays in this complete architecture.
  • I can explain a real scenario (such as delivering a box) from start to finish, layer by layer.
  • I know what my natural next step is for going deeper on this path.
๐ŸŒ ARCHO โ€” Final Version

Project ARCHO grew from a simple idea ("Archo the warehouse robot") into a complete industrial architecture: a body engineered with Xacro, alert senses from TF2 and SLAM, a decision-making brain with Nav2 and Behavior Tree, smart hands with MoveIt, a resilient network with CAN, and a guardian spirit that never allows danger.