ACS updates
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

- Adapt ACS subsystem to handle events from ACS CTRL
- Some fixes and updates for ACS subsystem
This commit is contained in:
2023-02-02 16:27:50 +01:00
parent 07effb628e
commit 2b00d3a565
12 changed files with 187 additions and 151 deletions

26
mission/acsDefs.h Normal file
View File

@ -0,0 +1,26 @@
#ifndef MISSION_ACSDEFS_H_
#define MISSION_ACSDEFS_H_
#include <fsfw/modes/HasModesIF.h>
namespace acs {
enum CtrlSubmode {
OFF = HasModesIF::MODE_OFF,
SAFE = 2,
DETUMBLE = 3,
IDLE = 4,
PTG_NADIR = 5,
PTG_TARGET = 6,
PTG_TARGET_GS = 7,
PTG_INERTIAL = 8,
};
static const uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::ACS_SUBSYSTEM;
static const Event SAFE_RATE_VIOLATION =
MAKE_EVENT(0, severity::MEDIUM); //!< The limits for the rotation in safe mode were violated.
static constexpr Event SAFE_RATE_RECOVERY = MAKE_EVENT(1, severity::MEDIUM);
} // namespace acs
#endif /* MISSION_ACSDEFS_H_ */