Beyond Behaviour Trees: Task Orchestration for Robotics with Reactor

New blog post exploring how we’re approaching robot task orchestration in Beam Bots.

The problem: Behaviour trees (the standard in ROS) use tick-based polling - constantly re-evaluating the tree even when nothing is happening. Not ideal for message-passing systems.

Our approach: Using reactor | Hex sagas instead:

  • Dependency-driven concurrency (independent steps run in parallel automatically)
  • Event-driven execution via PubSub (no polling)
  • Built-in compensation for failure recovery
  • Safety system integration (auto-halt on disarm)

The new bb_reactor package (v0.2.0 on Hex) provides a DSL for defining robot task sequences declaratively.

Read the full post:

5 Likes

Awesome project and enjoying your writing too. I do hope you’ve submitted a paper to ElixirConf EU ?

1 Like

And I can see a live robot on stage at the next Goatmire too …

1 Like

Sure did. Now I’m anxious that they won’t want me :anxious_face_with_sweat:

2 Likes