From 4528e61fcdbe0423052039059c9498f6de7ae5c9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 8 Feb 2023 15:02:56 +0100 Subject: [PATCH] initialize ACS controller --- CHANGELOG.md | 4 ++++ mission/controller/AcsController.cpp | 8 ++++++++ mission/controller/AcsController.h | 1 + 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd207914..c545da36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ change warranting a new major release: # [unreleased] +# [v1.26.1] 2023-02-08 + +- Initialize parameter helper in ACS controller. + # [v1.26.0] 2023-02-08 eive-tmtc v2.12.1 diff --git a/mission/controller/AcsController.cpp b/mission/controller/AcsController.cpp index b590786b..83088b41 100644 --- a/mission/controller/AcsController.cpp +++ b/mission/controller/AcsController.cpp @@ -721,6 +721,14 @@ void AcsController::copySusData() { } } +ReturnValue_t AcsController::initialize() { + ReturnValue_t result = parameterHelper.initialize(); + if (result != returnvalue::OK) { + return result; + } + return ExtendedControllerBase::initialize(); +} + void AcsController::copyGyrData() { ACS::SensorValues sensorValues; { diff --git a/mission/controller/AcsController.h b/mission/controller/AcsController.h index 6a18e988..e1e31a2a 100644 --- a/mission/controller/AcsController.h +++ b/mission/controller/AcsController.h @@ -55,6 +55,7 @@ class AcsController : public ExtendedControllerBase, public ReceivesParameterMes InternalState internalState = InternalState::STARTUP; + ReturnValue_t initialize() override; ReturnValue_t handleCommandMessage(CommandMessage* message) override; void performControlOperation() override;