Dataflow Programming vs Publish-Subscribe: Sources, Operators and Sinks

A plain-language guide to dataflow programming for robots: sources, operators and sinks, data-driven versus periodic nodes, trade-offs, and how to bridge a graph to ROS 2.

In this article

  • Two ways to picture the same robot
  • What dataflow programming actually is
  • The robot already is a dataflow graph
  • A small worked example
  • Trade-offs, honestly
  • Using both: a bridge in the middle
  • How to decide
  • Checklist