Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#include "retractbeltsphase.h"
#include "commandhandlingphase.h"
RetractBeltsPhase::RetractBeltsPhase(PhaseManager* manager, Movement* movement) : CommandHandlingPhase(movement) {
this->manager = manager;
this->movement = movement;
}
void RetractBeltsPhase::doneWithPhase(AsyncWebServerRequest *request) {
manager->setPhase(PhaseManager::ExtendToHome);
manager->respondWithState(request);
}
const char* RetractBeltsPhase::getName() {
return "RetractBelts";
}a1f6533f1This file is pinned to the selected release. Download the original to open it in your design tool.