added GS target mode

This commit is contained in:
Marius Eggert 2023-01-09 09:36:00 +01:00
parent 00d4a7602a
commit 341966e709
2 changed files with 3 additions and 2 deletions

View File

@ -451,7 +451,7 @@ ReturnValue_t AcsController::checkModeCommand(Mode_t mode, Submode_t submode,
return INVALID_SUBMODE;
}
} else if ((mode == MODE_ON) || (mode == MODE_NORMAL)) {
if ((submode > 7) || (submode < 2)) {
if ((submode > 8) || (submode < 2)) {
return INVALID_SUBMODE;
} else {
return returnvalue::OK;

View File

@ -29,7 +29,8 @@ class AcsController : public ExtendedControllerBase {
static const Submode_t SUBMODE_IDLE = 4;
static const Submode_t SUBMODE_PTG_NADIR = 5;
static const Submode_t SUBMODE_PTG_TARGET = 6;
static const Submode_t SUBMODE_PTG_INERTIAL = 7;
static const Submode_t SUBMODE_PTG_TARGET_GS = 7;
static const Submode_t SUBMODE_PTG_INERTIAL = 8;
static const uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::ACS_SUBSYSTEM;
static const Event SAFE_RATE_VIOLATION =