|
Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
|
Unload to FINDA "small" state machine. More...
#include <unload_to_finda.h>
Public Types | |
| enum | { EngagingIdler , UnloadingToFinda , WaitingForFINDA , OK , FailedFINDA , FailedFSensor } |
| internal states of the state machine | |
Public Member Functions | |
| void | Reset (uint8_t maxTries) |
| bool | Step () |
| uint8_t | State () const |
Unload to FINDA "small" state machine.
"small" state machines will serve as building blocks for high-level commands/operations
| void logic::UnloadToFinda::Reset | ( | uint8_t | maxTries | ) |
Restart the automaton
| maxTries | maximum number of retried attempts before reporting a fail |
|
inline |
| bool logic::UnloadToFinda::Step | ( | ) |