Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
|
Feed filament to FINDA. More...
#include <feed_to_finda.h>
Public Types | |
enum | { EngagingIdler , PushingFilament , PushingFilamentUnlimited , UnloadBackToPTFE , DisengagingIdler , OK , Failed , Stopped } |
internal states of the state machine | |
Public Member Functions | |
bool | Reset (bool feedPhaseLimited, bool haltAtEnd) |
bool | Step () |
uint8_t | State () const |
Feed filament to FINDA.
Continuously feed filament until FINDA is not switched ON and than retract to align filament 600 steps away from FINDA. Leaves the Idler engaged for chaining potential next operations. Leaves the Pulley axis enabled for chaining potential next operations
bool logic::FeedToFinda::Reset | ( | bool | feedPhaseLimited, |
bool | haltAtEnd | ||
) |
Restart the automaton
feedPhaseLimited |
|
haltAtEnd | true if the Pulley's motion shall be brought into a halt (which is what LoadFilament wants, but not ToolChange) |
|
inline |
This method may be used to check the result of the automaton
bool logic::FeedToFinda::Step | ( | ) |