eive-obsw/mission/controller/acs/control/Detumble.h
meggert 60a348a08f
Some checks failed
EIVE/eive-obsw/pipeline/head Build queued...
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
this gonna be fun
2023-11-02 16:59:09 +01:00

27 lines
752 B
C++

#ifndef ACS_CONTROL_DETUMBLE_H_
#define ACS_CONTROL_DETUMBLE_H_
#include <fsfw/returnvalues/returnvalue.h>
#include <mission/acs/defs.h>
#include <stdio.h>
#include <string.h>
class Detumble {
public:
Detumble();
virtual ~Detumble();
acs::ControlModeStrategy detumbleStrategy(const bool magFieldValid, const bool satRotRateValid,
const bool magFieldRateValid,
const bool useFullDetumbleLaw);
void bDotLawFull(const double *satRotRateB, const double *magFieldB, double *magMomB,
double gain);
void bDotLaw(const double *magRateB, const double *magFieldB, double *magMomB, double gain);
private:
};
#endif /*ACS_CONTROL_DETUMBLE_H_*/