From 5ebdc9e7676aea838b2dce730c148d1cce3b2cb5 Mon Sep 17 00:00:00 2001 From: Marius Eggert Date: Tue, 20 Sep 2022 15:06:05 +0200 Subject: [PATCH] amended includes. removed links to HasParametersIF --- mission/controller/acs/AcsParameters.h | 2 +- mission/controller/acs/ActuatorCmd.cpp | 14 +++++++------- mission/controller/acs/ActuatorCmd.h | 10 +++++----- mission/controller/acs/Guidance.h | 2 +- mission/controller/acs/Igrf13Model.h | 2 +- mission/controller/acs/Navigation.h | 10 +++++----- mission/controller/acs/Navitation.cpp | 4 ++-- mission/controller/acs/SensorProcessing.cpp | 10 +++++----- mission/controller/acs/SensorProcessing.h | 14 +++++++------- mission/controller/acs/control/Detumble.cpp | 12 ++++++------ mission/controller/acs/control/Detumble.h | 10 +++++----- mission/controller/acs/util/MathOperations.h | 1 + 12 files changed, 46 insertions(+), 45 deletions(-) diff --git a/mission/controller/acs/AcsParameters.h b/mission/controller/acs/AcsParameters.h index b4e32d65..6e8fd1a2 100644 --- a/mission/controller/acs/AcsParameters.h +++ b/mission/controller/acs/AcsParameters.h @@ -10,7 +10,7 @@ typedef unsigned char uint8_t; -class AcsParameters:public HasParametersIF{ +class AcsParameters/*:public HasParametersIF*/{ public: AcsParameters(); diff --git a/mission/controller/acs/ActuatorCmd.cpp b/mission/controller/acs/ActuatorCmd.cpp index 25eeca9c..3b4ed71e 100644 --- a/mission/controller/acs/ActuatorCmd.cpp +++ b/mission/controller/acs/ActuatorCmd.cpp @@ -6,14 +6,14 @@ */ -#include "ActuatorCmd.h" -#include +#include +#include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include ActuatorCmd::ActuatorCmd(AcsParameters *acsParameters_) { acsParameters = *acsParameters_; diff --git a/mission/controller/acs/ActuatorCmd.h b/mission/controller/acs/ActuatorCmd.h index 9b721505..85ef1532 100644 --- a/mission/controller/acs/ActuatorCmd.h +++ b/mission/controller/acs/ActuatorCmd.h @@ -9,11 +9,11 @@ #define ACTUATORCMD_H_ -#include "AcsParameters.h" -#include "SensorProcessing.h" -#include -#include -#include +#include +#include +#include +#include +#include class ActuatorCmd{ public: diff --git a/mission/controller/acs/Guidance.h b/mission/controller/acs/Guidance.h index 736d8b9b..76cfce77 100644 --- a/mission/controller/acs/Guidance.h +++ b/mission/controller/acs/Guidance.h @@ -12,7 +12,7 @@ #include #include #include -#include +#include class Guidance { diff --git a/mission/controller/acs/Igrf13Model.h b/mission/controller/acs/Igrf13Model.h index 6e46a90e..b6f14e0f 100644 --- a/mission/controller/acs/Igrf13Model.h +++ b/mission/controller/acs/Igrf13Model.h @@ -25,7 +25,7 @@ // Output should be transformed to [T] instead of [nT] // Updating Coefficients has to be implemented yet. Question, updating everyday ? -class Igrf13Model:public HasParametersIF{ +class Igrf13Model/*:public HasParametersIF*/{ public: Igrf13Model(); diff --git a/mission/controller/acs/Navigation.h b/mission/controller/acs/Navigation.h index 7d71df99..75bbade5 100644 --- a/mission/controller/acs/Navigation.h +++ b/mission/controller/acs/Navigation.h @@ -9,11 +9,11 @@ #define NAVIGATION_H_ -#include "AcsParameters.h" -#include "SensorProcessing.h" -#include -#include -#include +#include +#include +#include +#include +#include class Navigation{ public: diff --git a/mission/controller/acs/Navitation.cpp b/mission/controller/acs/Navitation.cpp index 50dbb049..2cb70389 100644 --- a/mission/controller/acs/Navitation.cpp +++ b/mission/controller/acs/Navitation.cpp @@ -7,11 +7,11 @@ #include "Navigation.h" #include -#include +#include #include #include #include -#include +#include Navigation::Navigation(AcsParameters *acsParameters_): multiplicativeKalmanFilter(acsParameters_){ acsParameters = *acsParameters_; diff --git a/mission/controller/acs/SensorProcessing.cpp b/mission/controller/acs/SensorProcessing.cpp index eeb7f457..7b89daf1 100644 --- a/mission/controller/acs/SensorProcessing.cpp +++ b/mission/controller/acs/SensorProcessing.cpp @@ -6,11 +6,11 @@ */ #include "SensorProcessing.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include #include diff --git a/mission/controller/acs/SensorProcessing.h b/mission/controller/acs/SensorProcessing.h index 9db8e25b..43c93722 100644 --- a/mission/controller/acs/SensorProcessing.h +++ b/mission/controller/acs/SensorProcessing.h @@ -6,12 +6,12 @@ #define SENSORPROCESSING_H_ #include //uint8_t -#include /*purpose, timeval ?*/ -#include "acs/config/classIds.h" -#include -#include "AcsParameters.h" -#include -#include +#include /*purpose, timeval ?*/ +#include +#include +#include +#include +#include /*Planned: * - Fusion of Sensor Measurements - @@ -25,7 +25,7 @@ * magField * SunDirEst*/ -class SensorProcessing: public HasReturnvaluesIF{ +class SensorProcessing{ public: void reset(); diff --git a/mission/controller/acs/control/Detumble.cpp b/mission/controller/acs/control/Detumble.cpp index 283d6dc1..8c3bdf86 100644 --- a/mission/controller/acs/control/Detumble.cpp +++ b/mission/controller/acs/control/Detumble.cpp @@ -7,14 +7,14 @@ */ -#include "Detumble.h" -#include -#include +#include +#include +#include #include -#include -#include +#include +#include #include -#include +#include Detumble::Detumble(AcsParameters *acsParameters_){ diff --git a/mission/controller/acs/control/Detumble.h b/mission/controller/acs/control/Detumble.h index 54d62179..47efd49d 100644 --- a/mission/controller/acs/control/Detumble.h +++ b/mission/controller/acs/control/Detumble.h @@ -13,11 +13,11 @@ #include #include #include -#include "acs/config/classIds.h" -#include -#include +#include +#include +#include -class Detumble : public HasReturnvaluesIF { +class Detumble{ public: Detumble(AcsParameters *acsParameters_); @@ -42,5 +42,5 @@ private: AcsParameters::MagnetorquesParameter* magnetorquesParameter; }; -#endif /* ACS_CONTROL_DETUMBLE_H_ */ +#endif ACS_CONTROL_DETUMBLE_H_ diff --git a/mission/controller/acs/util/MathOperations.h b/mission/controller/acs/util/MathOperations.h index 82d19b19..6a534880 100644 --- a/mission/controller/acs/util/MathOperations.h +++ b/mission/controller/acs/util/MathOperations.h @@ -9,6 +9,7 @@ #define MATH_MATHOPERATIONS_H_ #include +#include #include #include #include