2022-09-20 14:15:55 +02:00
|
|
|
#ifndef NAVIGATION_H_
|
|
|
|
#define NAVIGATION_H_
|
|
|
|
|
2022-11-03 10:43:27 +01:00
|
|
|
#include "../controllerdefinitions/AcsCtrlDefinitions.h"
|
2022-09-27 11:06:11 +02:00
|
|
|
#include "AcsParameters.h"
|
|
|
|
#include "MultiplicativeKalmanFilter.h"
|
2022-11-03 10:43:27 +01:00
|
|
|
#include "SensorProcessing.h"
|
2022-09-27 11:06:11 +02:00
|
|
|
#include "SensorValues.h"
|
2022-09-20 14:15:55 +02:00
|
|
|
|
2022-11-03 10:43:27 +01:00
|
|
|
class Navigation {
|
|
|
|
public:
|
2023-02-21 17:09:49 +01:00
|
|
|
Navigation(AcsParameters *acsParameters_);
|
2022-11-03 10:43:27 +01:00
|
|
|
virtual ~Navigation();
|
|
|
|
|
2023-02-21 17:09:49 +01:00
|
|
|
ReturnValue_t useMekf(ACS::SensorValues *sensorValues,
|
|
|
|
acsctrl::GyrDataProcessed *gyrDataProcessed,
|
|
|
|
acsctrl::MgmDataProcessed *mgmDataProcessed,
|
|
|
|
acsctrl::SusDataProcessed *susDataProcessed, acsctrl::MekfData *mekfData);
|
|
|
|
void resetMekf(acsctrl::MekfData *mekfData);
|
2022-11-03 10:43:27 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
private:
|
|
|
|
MultiplicativeKalmanFilter multiplicativeKalmanFilter;
|
|
|
|
AcsParameters acsParameters;
|
2023-02-23 09:45:11 +01:00
|
|
|
ReturnValue_t mekfStatus = MultiplicativeKalmanFilter::KALMAN_UNINITIALIZED;
|
2022-09-20 14:15:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* ACS_NAVIGATION_H_ */
|