State Machines vs. Behavior Trees: decision-making architecture for robotics | Dark Hacker News