update comment block
EIVE/eive-obsw/pipeline/head This commit looks good Details

This commit is contained in:
Robin Müller 2022-10-12 13:58:48 +02:00
parent 09c0afbe7f
commit 3289a40320
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 17 additions and 17 deletions

View File

@ -62,9 +62,9 @@ void SolarArrayDeploymentHandler::handleStateMachine() {
// case SWITCH_DEPL_GPIOS:
// deploymentTransistorsOn();
// break;
//// case WAIT_ON_DEPLOYMENT_FINISH:
//// handleDeploymentFinish();
//// break;
// case WAIT_ON_DEPLOYMENT_FINISH:
// handleDeploymentFinish();
// break;
// case WAIT_FOR_MAIN_SWITCH_OFF:
// if (mainLineSwitcher.getSwitchState(mainLineSwitch) == PowerSwitchIF::SWITCH_OFF) {
// stateMachine = WAIT_ON_DELOYMENT_COMMAND;
@ -126,20 +126,20 @@ void SolarArrayDeploymentHandler::deploymentTransistorsOn() {
// void SolarArrayDeploymentHandler::handleDeploymentFinish() {
// ReturnValue_t result = returnvalue::OK;
//// if (deploymentCountdown.hasTimedOut()) {
//// actionHelper.finish(true, rememberCommanderId, DEPLOY_SOLAR_ARRAYS, returnvalue::OK);
//// result = gpioInterface->pullLow(deplSA1);
//// if (result != returnvalue::OK) {
//// sif::debug << "SolarArrayDeploymentHandler::handleStateMachine: Failed to pull solar"
//// " array deployment switch 1 low "
//// << std::endl;
//// }
//// result = gpioInterface->pullLow(deplSA2);
//// if (result != returnvalue::OK) {
//// sif::debug << "SolarArrayDeploymentHandler::handleStateMachine: Failed to pull solar"
//// " array deployment switch 2 low "
//// << std::endl;
//// }
// if (deploymentCountdown.hasTimedOut()) {
// actionHelper.finish(true, rememberCommanderId, DEPLOY_SOLAR_ARRAYS, returnvalue::OK);
// result = gpioInterface->pullLow(deplSA1);
// if (result != returnvalue::OK) {
// sif::debug << "SolarArrayDeploymentHandler::handleStateMachine: Failed to pull solar"
// " array deployment switch 1 low "
// << std::endl;
// }
// result = gpioInterface->pullLow(deplSA2);
// if (result != returnvalue::OK) {
// sif::debug << "SolarArrayDeploymentHandler::handleStateMachine: Failed to pull solar"
// " array deployment switch 2 low "
// << std::endl;
// }
// mainLineSwitcher.sendSwitchCommand(mainLineSwitch, PowerSwitchIF::SWITCH_OFF);
// mainSwitchCountdown.setTimeout(mainLineSwitcher.getSwitchDelayMs());
// stateMachine = WAIT_FOR_MAIN_SWITCH_OFF;