Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
move_selector.h
1 #pragma once
3 #include <stdint.h>
4 #include "command_base.h"
5 
6 namespace logic {
7 
16 class MoveSelector : public CommandBase {
17 public:
18  inline constexpr MoveSelector()
19  : CommandBase() {}
20 
23  bool Reset(uint8_t param) override;
24 
26  bool StepInner() override;
27 };
28 
31 
32 } // namespace logic
Base class defining common API for high-level operations/commands/state machines.
Definition: command_base.h:29
A high-level command state machine - wrapps the rehoming procedure to be used from a printer.
Definition: move_selector.h:16
bool Reset(uint8_t param) override
Definition: move_selector.cpp:11
bool StepInner() override
Definition: move_selector.cpp:24
The logic namespace handles the application logic on top of the modules.
Definition: application.h:8
MoveSelector moveSelector
The one and only instance of MoveSelector state machine in the FW.
Definition: move_selector.cpp:9