eive-obsw/mission/system/definitions.h
Ulrich Mohr acd365e421
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Mode introspection and fixes
2022-08-26 16:12:22 +02:00

21 lines
569 B
C++

#ifndef MISSION_SYSTEM_DEFINITIONS_H_
#define MISSION_SYSTEM_DEFINITIONS_H_
#include <fsfw/modes/ModeMessage.h>
#include <fsfw/introspection/ClasslessEnum.h>
namespace power {
enum class States { IDLE, SWITCHING_POWER, CHECKING_POWER, MODE_COMMANDING };
enum class OpCodes { NONE, TO_OFF_DONE, TO_NOT_OFF_DONE, TIMEOUT_OCCURED };
} // namespace power
namespace duallane {
FSFW_CLASSLESS_ENUM(Submodes, Submode_t, ((A_SIDE, 0, "Side A")) ((B_SIDE, 1, "Side B")) ((DUAL_MODE, 2, "Dual mode")))
} // namespace duallane
#endif /* MISSION_SYSTEM_DEFINITIONS_H_ */