diff --git a/mission/devices/SolarArrayDeploymentHandler.cpp b/mission/devices/SolarArrayDeploymentHandler.cpp index d5d37fe3..eb50c840 100644 --- a/mission/devices/SolarArrayDeploymentHandler.cpp +++ b/mission/devices/SolarArrayDeploymentHandler.cpp @@ -184,17 +184,13 @@ void SolarArrayDeploymentHandler::handleStateMachine() { mainLineSwitcher.sendSwitchCommand(mainLineSwitch, PowerSwitchIF::SWITCH_ON); mainSwitchCountdown.setTimeout(mainLineSwitcher.getSwitchDelayMs()); stateMachine = WAIT_MAIN_POWER_ON; - if (DEBUG_MODE) { - sif::debug << "SA DEPL FSM: MAIN_POWER_ON done -> WAIT_MAIN_POWER_ON" << std::endl; - } + sif::info << "S/A Deployment: Deployment power line on" << std::endl; } if (stateMachine == MAIN_POWER_OFF) { // These should never fail allOff(); stateMachine = WAIT_MAIN_POWER_OFF; - if (DEBUG_MODE) { - sif::debug << "SA DEPL FSM: MAIN_POWER_OFF done -> WAIT_MAIN_POWER_OFF" << std::endl; - } + sif::info << "S/A Deployment: Deployment power line off" << std::endl; } if (stateMachine == WAIT_MAIN_POWER_ON) { if (checkMainPowerOn()) { @@ -209,6 +205,7 @@ void SolarArrayDeploymentHandler::handleStateMachine() { if (DEBUG_MODE) { sif::debug << "SA DEPL FSM: WAIT_MAIN_POWER_OFF done -> FSM DONE" << std::endl; } + sif::info << "S/A Deployment: FSM done" << std::endl; finishFsm(returnvalue::OK); } } @@ -221,9 +218,7 @@ void SolarArrayDeploymentHandler::handleStateMachine() { sa1On(); fsmInfo.alternationDummy = true; } - if (DEBUG_MODE) { - sif::debug << "SA DEPL FSM: SWITCH_DEPL_GPIOS done -> BURNING" << std::endl; - } + sif::info << "S/A Deployment: Burning" << std::endl; stateMachine = BURNING; } if (stateMachine == BURNING) {