From 84b0856b52ee4480ca58e22875175100640487fc Mon Sep 17 00:00:00 2001 From: Marius Eggert Date: Mon, 19 Sep 2022 15:26:51 +0200 Subject: [PATCH] added OutputValues --- mission/controller/acs/OutputValues.cpp | 19 +++++++++ mission/controller/acs/OutputValues.h | 51 +++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 mission/controller/acs/OutputValues.cpp create mode 100644 mission/controller/acs/OutputValues.h diff --git a/mission/controller/acs/OutputValues.cpp b/mission/controller/acs/OutputValues.cpp new file mode 100644 index 00000000..3deb4043 --- /dev/null +++ b/mission/controller/acs/OutputValues.cpp @@ -0,0 +1,19 @@ +/* + * OutputValues.cpp + * + * Created on: 30 Mar 2022 + * Author: rooob + */ +#include + +namespace ACS { + +OutputValues::OutputValues(){ + +} + +OutputValues::~OutputValues(){ + +} + +} diff --git a/mission/controller/acs/OutputValues.h b/mission/controller/acs/OutputValues.h new file mode 100644 index 00000000..a73dc43c --- /dev/null +++ b/mission/controller/acs/OutputValues.h @@ -0,0 +1,51 @@ +/* + * OutputValues.h + * + * Created on: 30 Mar 2022 + * Author: rooob + */ + +#ifndef OUTPUTVALUES_H_ +#define OUTPUTVALUES_H_ + + +namespace ACS { + +class OutputValues { + +public: + + OutputValues(); + virtual ~OutputValues(); + + double magFieldEst[3]; // sensor fusion (G) + bool magFieldEstValid; + double magFieldModel[3]; //igrf (IJK) + bool magFieldModelValid; + double magneticFieldVectorDerivative[3]; + bool magneticFieldVectorDerivativeValid; + + bool mgmUpdated; + + double sunDirEst[3]; // sensor fusion (G) + bool sunDirEstValid; + double sunDirModel[3]; //sun model (IJK) + bool sunDirModelValid; + + double quatMekfBJ[4]; //mekf + bool quatMekfBJValid; + + double satRateEst[3]; + bool satRateEstValid; + double satRateMekf[3]; // after mekf with correction of bias + bool satRateMekfValid; + double sunVectorDerivative[3]; + bool sunVectorDerivativeValid; + + double gcLatitude; // geocentric latitude, radian + double gdLongitude; // Radian longitude +}; +} + + +#endif OUTPUTVALUES_H_