Merge branch 'mueller/solar-array-depl-autonomous' of https://egit.irs.uni-stuttgart.de/eive/eive-obsw into mueller/solar-array-depl-autonomous
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
commit
7aca487888
@ -1,5 +1,7 @@
|
|||||||
#include "SolarArrayDeploymentHandler.h"
|
#include "SolarArrayDeploymentHandler.h"
|
||||||
|
|
||||||
|
#include <fsfw/tasks/TaskFactory.h>
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@ -364,16 +366,18 @@ ReturnValue_t SolarArrayDeploymentHandler::saGpioAlternation() {
|
|||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
status = result;
|
status = result;
|
||||||
}
|
}
|
||||||
|
TaskFactory::delayTask(1);
|
||||||
result = sa2On();
|
result = sa2On();
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
status = result;
|
status = result;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result = sa1On();
|
result = sa2Off();
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
status = result;
|
status = result;
|
||||||
}
|
}
|
||||||
result = sa2Off();
|
TaskFactory::delayTask(1);
|
||||||
|
result = sa1On();
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
status = result;
|
status = result;
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,8 @@ class SolarArrayDeploymentHandler : public ExecutableObjectIF,
|
|||||||
*/
|
*/
|
||||||
Countdown burnCountdown;
|
Countdown burnCountdown;
|
||||||
|
|
||||||
Countdown channelAlternationCd = Countdown(config::SA_DEPL_CHANNEL_ALTERNATION_INTERVAL_SECS);
|
Countdown channelAlternationCd =
|
||||||
|
Countdown(config::SA_DEPL_CHANNEL_ALTERNATION_INTERVAL_SECS * 1000);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The message queue id of the component commanding an action will be stored in this variable.
|
* The message queue id of the component commanding an action will be stored in this variable.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user