Final Version of the ACS Controller #367
@ -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;
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user