ros2_control Async, Fallback and Chained Controllers Explained

A concept guide to ros2_control's single-thread loop and the features that protect it: asynchronous controllers and hardware, fallback controllers, chained controllers and typed interface handles.

In this article

  • The mental model in one paragraph
  • The problem: everything shares one thread
  • Asynchronous controllers
  • Asynchronous hardware
  • Fallback controllers
  • Chained controllers
  • Handles that own their data
  • Which feature for which problem
  • Our take: where this fits
  • Further reading