PX4 Firmware
PX4 Autopilot Software http://px4.io
|
System state machine unit test. More...
#include "state_machine_helper_test.h"
#include "../state_machine_helper.h"
#include <unit_test.h>
#include "../Arming/PreFlightCheck/PreFlightCheck.hpp"
Go to the source code of this file.
Classes | |
class | StateMachineHelperTest |
Macros | |
#define | ATT_ARMED true |
#define | ATT_DISARMED false |
#define | ATT_READY_TO_ARM true |
#define | ATT_NOT_READY_TO_ARM false |
#define | ATT_SENSORS_INITIALIZED true |
#define | ATT_SENSORS_NOT_INITIALIZED false |
#define | ATT_SAFETY_AVAILABLE true |
#define | ATT_SAFETY_NOT_AVAILABLE true |
#define | ATT_SAFETY_OFF true |
#define | ATT_SAFETY_ON false |
#define | MTT_ALL_NOT_VALID 0 |
#define | MTT_ROTARY_WING 1 << 0 |
#define | MTT_LOC_ALT_VALID 1 << 1 |
#define | MTT_LOC_POS_VALID 1 << 2 |
#define | MTT_HOME_POS_VALID 1 << 3 |
#define | MTT_GLOBAL_POS_VALID 1 << 4 |
System state machine unit test.
Definition in file state_machine_helper_test.cpp.
#define ATT_ARMED true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_DISARMED false |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_NOT_READY_TO_ARM false |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_READY_TO_ARM true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SAFETY_AVAILABLE true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SAFETY_NOT_AVAILABLE true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SAFETY_OFF true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SAFETY_ON false |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SENSORS_INITIALIZED true |
Referenced by StateMachineHelperTest::armingStateTransitionTest().
#define ATT_SENSORS_NOT_INITIALIZED false |
#define MTT_ALL_NOT_VALID 0 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().
#define MTT_GLOBAL_POS_VALID 1 << 4 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().
#define MTT_HOME_POS_VALID 1 << 3 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().
#define MTT_LOC_ALT_VALID 1 << 1 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().
#define MTT_LOC_POS_VALID 1 << 2 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().
#define MTT_ROTARY_WING 1 << 0 |
Referenced by StateMachineHelperTest::mainStateTransitionTest().