restructured tmtc modules a bit, added comDefinitions file
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2022-04-28 16:38:06 +02:00
parent 9c0a89bbdc
commit 699bc520f0
18 changed files with 56 additions and 15 deletions

View File

@ -1,6 +1,7 @@
target_sources(${LIB_EIVE_MISSION} PRIVATE
acsModeTree.cpp
payloadModeTree.cpp
comModeTree.cpp
system.cpp
util.cpp
)

View File

@ -0,0 +1,22 @@
#include "comModeTree.h"
#include <commonObjects.h>
#include <fsfw/devicehandlers/DeviceHandlerIF.h>
#include <fsfw/modes/HasModesIF.h>
#include <fsfw/returnvalues/HasReturnvaluesIF.h>
#include <fsfw/subsystem/Subsystem.h>
#include "util.h"
const auto check = subsystem::checkInsert;
static const auto OFF = HasModesIF::MODE_OFF;
static const auto ON = HasModesIF::MODE_ON;
static const auto NML = DeviceHandlerIF::MODE_NORMAL;
namespace {}
void satsystem::com::init() {
ModeListEntry entry;
Subsystem* comSubsystem = new Subsystem(objects::COM_SUBSYSTEM, objects::EIVE_SYSTEM, 12, 24);
}

View File

@ -0,0 +1,12 @@
#ifndef MISSION_SYSTEM_TREE_COMMODETREE_H_
#define MISSION_SYSTEM_TREE_COMMODETREE_H_
namespace satsystem {
namespace com {
void init();
}
} // namespace satsystem
#endif /* MISSION_SYSTEM_TREE_COMMODETREE_H_ */

View File

@ -1,9 +1,11 @@
#include "system.h"
#include "acsModeTree.h"
#include "comModeTree.h"
#include "payloadModeTree.h"
void satsystem::init() {
acs::init();
pl::init();
com::init();
}