and
How to write unmaintenable and not reusable code
The goal of a State Machine framework is to
ISOLATE and CENTRALIZE
the Coordination from the rest of the code.
This considerably improves:
Differences:
Any node can have the state
FAILS, SUCCESS, RUNNING
"Execute the sequence of actions until one FAILS.
If all SUCCEED, the Sequence SUCCEEDS.
If any FAILS, the sequence FAILS"
"Execute the sequence of actions until one SUCCEEDS.
If all FAIL, the Selector is FAILS.
If any SUCCEEDS, the sequence SUCCEEDS"
Node with a single child. It is a front-end to the child.
For example:
If you think this is complicated, imagine if this "intelligence" was hidden inside several ROS nodes...