add subsystem impls
This commit is contained in:
parent
94896c9e74
commit
6c63356edc
@ -1 +1 @@
|
|||||||
Subproject commit 5ad9fb94af3312d29863527106396395f7b808a5
|
Subproject commit 9a92c7de0a2fedfcc638c0517e3edea123e977f8
|
@ -118,7 +118,7 @@ ReturnValue_t IMTQHandler::buildCommandFromCommand(DeviceCommandId_t deviceComma
|
|||||||
case (IMTQ::START_ACTUATION_DIPOLE): {
|
case (IMTQ::START_ACTUATION_DIPOLE): {
|
||||||
/* IMTQ expects low byte first */
|
/* IMTQ expects low byte first */
|
||||||
commandBuffer[0] = IMTQ::CC::START_ACTUATION_DIPOLE;
|
commandBuffer[0] = IMTQ::CC::START_ACTUATION_DIPOLE;
|
||||||
if(commandData == nullptr) {
|
if (commandData == nullptr) {
|
||||||
return DeviceHandlerIF::INVALID_COMMAND_PARAMETER;
|
return DeviceHandlerIF::INVALID_COMMAND_PARAMETER;
|
||||||
}
|
}
|
||||||
commandBuffer[1] = commandData[1];
|
commandBuffer[1] = commandData[1];
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#include "AcsSubsystem.h"
|
#include "AcsSubsystem.h"
|
||||||
|
|
||||||
|
AcsSubsystem::AcsSubsystem(object_id_t setObjectId, object_id_t parent,
|
||||||
|
uint32_t maxNumberOfSequences, uint32_t maxNumberOfTables)
|
||||||
|
: Subsystem(setObjectId, parent, maxNumberOfSequences, maxNumberOfTables) {}
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#ifndef MISSION_SYSTEM_ACSSUBSYSTEM_H_
|
#ifndef MISSION_SYSTEM_ACSSUBSYSTEM_H_
|
||||||
#define MISSION_SYSTEM_ACSSUBSYSTEM_H_
|
#define MISSION_SYSTEM_ACSSUBSYSTEM_H_
|
||||||
|
|
||||||
|
#include <fsfw/subsystem/Subsystem.h>
|
||||||
|
|
||||||
|
class AcsSubsystem : public Subsystem {
|
||||||
|
public:
|
||||||
|
AcsSubsystem(object_id_t setObjectId, object_id_t parent, uint32_t maxNumberOfSequences,
|
||||||
|
uint32_t maxNumberOfTables);
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* MISSION_SYSTEM_ACSSUBSYSTEM_H_ */
|
#endif /* MISSION_SYSTEM_ACSSUBSYSTEM_H_ */
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
target_sources(${LIB_EIVE_MISSION} PRIVATE
|
target_sources(${LIB_EIVE_MISSION} PRIVATE
|
||||||
|
EiveSystem.cpp
|
||||||
|
AcsSubsystem.cpp
|
||||||
|
ComSubsystem.cpp
|
||||||
|
PayloadSubsystem.cpp
|
||||||
|
|
||||||
AcsBoardAssembly.cpp
|
AcsBoardAssembly.cpp
|
||||||
SusAssembly.cpp
|
SusAssembly.cpp
|
||||||
AcsSubsystem.cpp
|
|
||||||
EiveSystem.cpp
|
|
||||||
ComSubsystem.cpp
|
|
||||||
DualLanePowerStateMachine.cpp
|
DualLanePowerStateMachine.cpp
|
||||||
PowerStateMachineBase.cpp
|
PowerStateMachineBase.cpp
|
||||||
DualLaneAssemblyBase.cpp
|
DualLaneAssemblyBase.cpp
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#include "ComSubsystem.h"
|
#include "ComSubsystem.h"
|
||||||
|
|
||||||
|
ComSubsystem::ComSubsystem(object_id_t setObjectId, object_id_t parent,
|
||||||
|
uint32_t maxNumberOfSequences, uint32_t maxNumberOfTables)
|
||||||
|
: Subsystem(setObjectId, parent, maxNumberOfSequences, maxNumberOfTables) {}
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#ifndef MISSION_SYSTEM_COMSUBSYSTEM_H_
|
#ifndef MISSION_SYSTEM_COMSUBSYSTEM_H_
|
||||||
#define MISSION_SYSTEM_COMSUBSYSTEM_H_
|
#define MISSION_SYSTEM_COMSUBSYSTEM_H_
|
||||||
|
|
||||||
|
#include <fsfw/subsystem/Subsystem.h>
|
||||||
|
|
||||||
|
class ComSubsystem : public Subsystem {
|
||||||
|
public:
|
||||||
|
ComSubsystem(object_id_t setObjectId, object_id_t parent, uint32_t maxNumberOfSequences,
|
||||||
|
uint32_t maxNumberOfTables);
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* MISSION_SYSTEM_COMSUBSYSTEM_H_ */
|
#endif /* MISSION_SYSTEM_COMSUBSYSTEM_H_ */
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#include "EiveSystem.h"
|
#include "EiveSystem.h"
|
||||||
|
|
||||||
|
EiveSystem::EiveSystem(object_id_t setObjectId, object_id_t parent, uint32_t maxNumberOfSequences,
|
||||||
|
uint32_t maxNumberOfTables)
|
||||||
|
: Subsystem(setObjectId, parent, maxNumberOfSequences, maxNumberOfTables) {}
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#ifndef MISSION_SYSTEM_EIVESYSTEM_H_
|
#ifndef MISSION_SYSTEM_EIVESYSTEM_H_
|
||||||
#define MISSION_SYSTEM_EIVESYSTEM_H_
|
#define MISSION_SYSTEM_EIVESYSTEM_H_
|
||||||
|
|
||||||
|
#include <fsfw/subsystem/Subsystem.h>
|
||||||
|
|
||||||
|
class EiveSystem : public Subsystem {
|
||||||
|
public:
|
||||||
|
EiveSystem(object_id_t setObjectId, object_id_t parent, uint32_t maxNumberOfSequences,
|
||||||
|
uint32_t maxNumberOfTables);
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* MISSION_SYSTEM_EIVESYSTEM_H_ */
|
#endif /* MISSION_SYSTEM_EIVESYSTEM_H_ */
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#include "PayloadSubsystem.h"
|
#include "PayloadSubsystem.h"
|
||||||
|
|
||||||
|
PayloadSubsystem::PayloadSubsystem(object_id_t setObjectId, object_id_t parent,
|
||||||
|
uint32_t maxNumberOfSequences, uint32_t maxNumberOfTables)
|
||||||
|
: Subsystem(setObjectId, parent, maxNumberOfSequences, maxNumberOfTables) {}
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#ifndef MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_
|
#ifndef MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_
|
||||||
#define MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_
|
#define MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_
|
||||||
|
|
||||||
|
#include <fsfw/subsystem/Subsystem.h>
|
||||||
|
|
||||||
|
class PayloadSubsystem : public Subsystem {
|
||||||
|
public:
|
||||||
|
PayloadSubsystem(object_id_t setObjectId, object_id_t parent, uint32_t maxNumberOfSequences,
|
||||||
|
uint32_t maxNumberOfTables);
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_ */
|
#endif /* MISSION_SYSTEM_PAYLOADSUBSYSTEM_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user