2022-02-25 11:58:02 +01:00
|
|
|
#include "AcsSubsystem.h"
|
2022-04-14 09:54:07 +02:00
|
|
|
|
2023-02-02 16:27:50 +01:00
|
|
|
#include <fsfw/events/EventManagerIF.h>
|
|
|
|
#include <fsfw/ipc/QueueFactory.h>
|
|
|
|
|
|
|
|
#include "fsfw/modes/ModeMessage.h"
|
2023-03-24 20:50:33 +01:00
|
|
|
#include "mission/acs/defs.h"
|
2023-02-02 16:27:50 +01:00
|
|
|
|
2022-09-29 19:40:00 +02:00
|
|
|
AcsSubsystem::AcsSubsystem(object_id_t setObjectId, uint32_t maxNumberOfSequences,
|
|
|
|
uint32_t maxNumberOfTables)
|
2023-03-08 18:56:27 +01:00
|
|
|
: Subsystem(setObjectId, maxNumberOfSequences, maxNumberOfTables) {}
|
2023-02-13 01:26:30 +01:00
|
|
|
|
|
|
|
void AcsSubsystem::announceMode(bool recursive) {
|
|
|
|
const char* modeStr = acs::getModeStr(static_cast<acs::AcsMode>(mode));
|
|
|
|
sif::info << "ACS subsystem is now in " << modeStr << " mode" << std::endl;
|
|
|
|
return Subsystem::announceMode(recursive);
|
|
|
|
}
|