need to fix all of these TODOs
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
#include "acsModeTree.h"
|
||||
#include "eive/objects.h"
|
||||
|
||||
#include <fsfw/devicehandlers/DeviceHandlerIF.h>
|
||||
#include <fsfw/modes/HasModesIF.h>
|
||||
#include <fsfw/subsystem/Subsystem.h>
|
||||
#include <fsfw/subsystem/modes/ModeDefinitions.h>
|
||||
|
||||
#include "eive/objects.h"
|
||||
#include "mission/controller/controllerdefinitions/AcsControllerDefinitions.h"
|
||||
|
||||
Subsystem satsystem::ACS_SUBSYSTEM(objects::ACS_SUBSYSTEM, 12, 24);
|
||||
|
||||
void checkInsert(ReturnValue_t result, const char* ctx);
|
||||
void buildOffSequence(Subsystem* ss, ModeListEntry& eh);
|
||||
void buildDetumbleSequence(Subsystem* ss, ModeListEntry& entryHelper);
|
||||
@ -75,21 +77,13 @@ auto ACS_TABLE_TARGET_PT_TRANS_1 =
|
||||
|
||||
void satsystem::initAcsSubsystem(object_id_t satSystemObjId) {
|
||||
ModeListEntry entry;
|
||||
Subsystem* acsSubsystem = new Subsystem(objects::ACS_SUBSYSTEM, satSystemObjId, 12, 24);
|
||||
acsSubsystem->registerChild(objects::ACS_CONTROLLER);
|
||||
acsSubsystem->registerChild(objects::IMTQ_HANDLER);
|
||||
acsSubsystem->registerChild(objects::STAR_TRACKER);
|
||||
acsSubsystem->registerChild(objects::ACS_BOARD_ASS);
|
||||
acsSubsystem->registerChild(objects::SUS_BOARD_ASS);
|
||||
acsSubsystem->registerChild(objects::IMTQ_HANDLER);
|
||||
acsSubsystem->registerChild(objects::RW_ASS);
|
||||
buildOffSequence(acsSubsystem, entry);
|
||||
buildSafeSequence(acsSubsystem, entry);
|
||||
buildDetumbleSequence(acsSubsystem, entry);
|
||||
buildIdleSequence(acsSubsystem, entry);
|
||||
buildIdleChargeSequence(acsSubsystem, entry);
|
||||
buildTargetPtSequence(acsSubsystem, entry);
|
||||
acsSubsystem->setInitialMode(HasModesIF::MODE_OFF);
|
||||
buildOffSequence(&ACS_SUBSYSTEM, entry);
|
||||
buildSafeSequence(&ACS_SUBSYSTEM, entry);
|
||||
buildDetumbleSequence(&ACS_SUBSYSTEM, entry);
|
||||
buildIdleSequence(&ACS_SUBSYSTEM, entry);
|
||||
buildIdleChargeSequence(&ACS_SUBSYSTEM, entry);
|
||||
buildTargetPtSequence(&ACS_SUBSYSTEM, entry);
|
||||
ACS_SUBSYSTEM.setInitialMode(HasModesIF::MODE_OFF);
|
||||
}
|
||||
|
||||
void buildOffSequence(Subsystem* ss, ModeListEntry& eh) {
|
||||
|
Reference in New Issue
Block a user