From c759e118fa2fbbf2f6a17e672a187001b3622dc3 Mon Sep 17 00:00:00 2001 From: meggert Date: Fri, 24 Mar 2023 14:56:35 +0100 Subject: [PATCH] fixed indexing --- mission/acsDefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mission/acsDefs.h b/mission/acsDefs.h index 69825a42..e5967cb9 100644 --- a/mission/acsDefs.h +++ b/mission/acsDefs.h @@ -34,12 +34,12 @@ static constexpr Event MEKF_INVALID_INFO = MAKE_EVENT(3, severity::INFO); static constexpr Event MEKF_AUTOMATIC_RECOVERY = MAKE_EVENT(4, severity::INFO); //! [EXPORT] : [COMMENT] MEKF was not able to compute a solution during any pointing ACS mode for a //! prolonged time. -static constexpr Event MEKF_INVALID_MODE_VIOLATION = MAKE_EVENT(4, severity::HIGH); +static constexpr Event MEKF_INVALID_MODE_VIOLATION = MAKE_EVENT(5, severity::HIGH); //! [EXPORT] : [COMMENT] The ACS safe mode controller was not able to compute a solution and has //! failed. //! P1: Missing information about magnetic field //! P2: Missing information about rotational rate -static constexpr Event SAFE_MODE_CONTROLLER_FAILURE = MAKE_EVENT(5, severity::HIGH); +static constexpr Event SAFE_MODE_CONTROLLER_FAILURE = MAKE_EVENT(6, severity::HIGH); extern const char* getModeStr(AcsMode mode);