Fieldbus Register Maps in ros2_control: One Table, Many Protocols

How a ros2_control hardware interface maps CANopen, Modbus, EtherCAT and PLC data to state and command interfaces with one table and a worked scaling example.

In this article

  • The two sides of the translator
  • The core idea: a mapping table in the robot description
  • Why converting to a double is not trivial
  • Four protocols, one pattern
  • Real-time or not: an honest split
  • Start without the hardware
  • Trade-offs
  • Checklist