restructured tmtc modules a bit, added comDefinitions file
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
target_sources(${LIB_EIVE_MISSION} PRIVATE
|
||||
acsModeTree.cpp
|
||||
payloadModeTree.cpp
|
||||
comModeTree.cpp
|
||||
system.cpp
|
||||
util.cpp
|
||||
)
|
||||
|
22
mission/system/tree/comModeTree.cpp
Normal file
22
mission/system/tree/comModeTree.cpp
Normal 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);
|
||||
}
|
12
mission/system/tree/comModeTree.h
Normal file
12
mission/system/tree/comModeTree.h
Normal 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_ */
|
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user