| ... | @@ -2,7 +2,7 @@ In **hierarchical state machines** states are organized in a hierarchy. |
... | @@ -2,7 +2,7 @@ In **hierarchical state machines** states are organized in a hierarchy. |
|
|
This means that states can be themselves other state machines.
|
|
This means that states can be themselves other state machines.
|
|
|
|
|
|
|
|
## Implementation
|
|
## Implementation
|
|
|
In *skyward-boardcore* implementation, the **HSM** class extends the [EventHandler](EventHandler) class, as for FSMs.
|
|
In _skyward-boardcore_ implementation, the **HSM** class extends the [EventHandler](EventHandler) class, as for FSMs.
|
|
|
HSM is also a template class, such as FSM.
|
|
HSM is also a template class, such as FSM.
|
|
|
|
|
|
|
|
The main difference is that we can specify also super-states and perform transitions to them.
|
|
The main difference is that we can specify also super-states and perform transitions to them.
|
| ... | | ... | |