Open-Source-Digital-Twin / furuta-pendulum-controller

MIT License
2 stars 1 forks source link

Behavior tree or FSM library #9

Open caiopiccirillo opened 1 year ago

caiopiccirillo commented 1 year ago

We'll probably face at some point the need of a state machine. I see two options

  1. Finite state machines - Which we can implement ourselves or use a third party library
  2. Behavior tree - I suggest this library: https://github.com/BehaviorTree/BehaviorTree.CPP. This is mostly used in robotics and in video games (for NPC behavior for example), which is a "replacement" of FSM due to its modularity and asynchronous architecture.