added and implemented all ACS related DataPools to AcsController
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2022-10-24 10:41:28 +02:00
parent 8b23fd3dd2
commit 4bd2a2dac8
5 changed files with 352 additions and 171 deletions

View File

@ -1,19 +1,9 @@
/*
* OutputValues.cpp
*
* Created on: 30 Mar 2022
* Author: rooob
*/
#include "OutputValues.h"
namespace ACS {
OutputValues::OutputValues(){
OutputValues::OutputValues() {}
}
OutputValues::~OutputValues() {}
OutputValues::~OutputValues(){
}
}
} // namespace ACS

View File

@ -1,51 +1,44 @@
/*
* OutputValues.h
*
* Created on: 30 Mar 2022
* Author: rooob
*/
#include <fsfw/datapoollocal/HasLocalDataPoolIF.h>
#include "../controllerdefinitions/AcsCtrlDefinitions.h"
#ifndef OUTPUTVALUES_H_
#define OUTPUTVALUES_H_
namespace ACS {
class OutputValues {
public:
OutputValues();
virtual ~OutputValues();
public:
double magFieldEst[3]; // sensor fusion (G) // output value
bool magFieldEstValid;
double magFieldModel[3]; // igrf (IJK) //
bool magFieldModelValid;
double magneticFieldVectorDerivative[3];
bool magneticFieldVectorDerivativeValid;
OutputValues();
virtual ~OutputValues();
bool mgmUpdated; // ToDo: ????
double magFieldEst[3]; // sensor fusion (G)
bool magFieldEstValid;
double magFieldModel[3]; //igrf (IJK)
bool magFieldModelValid;
double magneticFieldVectorDerivative[3];
bool magneticFieldVectorDerivativeValid;
double sunDirEst[3]; // sensor fusion (G)
bool sunDirEstValid;
double sunDirModel[3]; // sun model (IJK)
bool sunDirModelValid;
bool mgmUpdated;
double quatMekfBJ[4]; // mekf
bool quatMekfBJValid;
double sunDirEst[3]; // sensor fusion (G)
bool sunDirEstValid;
double sunDirModel[3]; //sun model (IJK)
bool sunDirModelValid;
double satRateEst[3];
bool satRateEstValid;
double satRateMekf[3]; // after mekf with correction of bias
bool satRateMekfValid;
double sunVectorDerivative[3];
bool sunVectorDerivativeValid;
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
double gcLatitude; // geocentric latitude, radian
double gdLongitude; // Radian longitude
};
}
} // namespace ACS
#endif /*OUTPUTVALUES_H_*/