Synchronous Control Cycles and a Transport-Agnostic Core

Why free-running ROS nodes degrade a tightly coupled control loop, and how a synchronous cycle plus a communication interface fixes ordering and middleware lock-in.

In this article

  • The three-step loop most controllers share
  • What goes wrong with one node per step
  • Step one: make the cycle synchronous
  • Step two: make each stage swappable
  • Step three: a state machine on top
  • Step four: put all communication behind one interface
  • Do you need ROS 2 in the hot loop at all?
  • The split: fast core, ROS 2 around it
  • A worked example with illustrative numbers
  • Trade-offs to decide up front
  • Checklist