PX4 Firmware
PX4 Autopilot Software http://px4.io
state_machine_helper_test.cpp File Reference

System state machine unit test. More...

Include dependency graph for state_machine_helper_test.cpp:

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
 

Detailed Description

System state machine unit test.

Definition in file state_machine_helper_test.cpp.

Macro Definition Documentation

◆ ATT_ARMED

#define ATT_ARMED   true

◆ ATT_DISARMED

#define ATT_DISARMED   false

◆ ATT_NOT_READY_TO_ARM

#define ATT_NOT_READY_TO_ARM   false

◆ ATT_READY_TO_ARM

#define ATT_READY_TO_ARM   true

◆ ATT_SAFETY_AVAILABLE

#define ATT_SAFETY_AVAILABLE   true

◆ ATT_SAFETY_NOT_AVAILABLE

#define ATT_SAFETY_NOT_AVAILABLE   true

◆ ATT_SAFETY_OFF

#define ATT_SAFETY_OFF   true

◆ ATT_SAFETY_ON

#define ATT_SAFETY_ON   false

◆ ATT_SENSORS_INITIALIZED

#define ATT_SENSORS_INITIALIZED   true

◆ ATT_SENSORS_NOT_INITIALIZED

#define ATT_SENSORS_NOT_INITIALIZED   false

◆ MTT_ALL_NOT_VALID

#define MTT_ALL_NOT_VALID   0

◆ MTT_GLOBAL_POS_VALID

#define MTT_GLOBAL_POS_VALID   1 << 4

◆ MTT_HOME_POS_VALID

#define MTT_HOME_POS_VALID   1 << 3

◆ MTT_LOC_ALT_VALID

#define MTT_LOC_ALT_VALID   1 << 1

◆ MTT_LOC_POS_VALID

#define MTT_LOC_POS_VALID   1 << 2

◆ MTT_ROTARY_WING

#define MTT_ROTARY_WING   1 << 0