Behavior Trees in Robotics: BehaviorTree.CPP, Groot, Nav2 BT Navigator

Learn behavior trees for robotics with BehaviorTree.CPP, Groot, and the Nav2 BT Navigator: Sequence and Fallback nodes, blackboard design, reactive sequences, and recovery behaviors.

In this article

  • BehaviorTree.CPP and Nav2
  • Implementation in C++ (BehaviorTree.CPP)
  • Decorators, Recovery, and Timeouts
  • Reactive Behaviors
  • BT Library Comparison
  • BT vs Finite State Machine vs Hierarchical FSM
  • When a State Machine Is the Right Choice: Behavior as Data
  • Swapping Navigation Profiles at Runtime
  • When Not to Use a Behavior Tree