eive-obsw/mission/controller/acs/control/Detumble.h

26 lines
649 B
C
Raw Normal View History

#ifndef ACS_CONTROL_DETUMBLE_H_
#define ACS_CONTROL_DETUMBLE_H_
2022-12-01 15:56:55 +01:00
#include <fsfw/returnvalues/returnvalue.h>
2023-04-06 10:46:58 +02:00
#include <mission/acs/defs.h>
#include <stdio.h>
2022-12-01 15:56:55 +01:00
#include <string.h>
2022-12-01 15:56:55 +01:00
class Detumble {
public:
Detumble();
2022-12-01 15:56:55 +01:00
virtual ~Detumble();
2023-04-06 10:46:58 +02:00
uint8_t detumbleStrategy(const bool magFieldValid, const bool satRotRateValid,
const bool magFieldRateValid);
2023-04-06 10:46:58 +02:00
void bDotLawFull(const double *satRotRateB, const double *magFieldB, double *magMomB,
double gain);
2023-04-06 10:46:58 +02:00
void bDotLaw(const double *magRateB, const double *magFieldB, double *magMomB, double gain);
2022-10-21 16:46:09 +02:00
2022-12-13 11:51:03 +01:00
private:
};
2022-09-27 11:57:15 +02:00
#endif /*ACS_CONTROL_DETUMBLE_H_*/