PX4 Firmware
PX4 Autopilot Software http://px4.io
commander_state.h File Reference
#include <uORB/uORB.h>
Include dependency graph for commander_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  commander_state_s
 

Macros

#define COMMANDER_STATE_MAIN_STATE_MANUAL   0
 
#define COMMANDER_STATE_MAIN_STATE_ALTCTL   1
 
#define COMMANDER_STATE_MAIN_STATE_POSCTL   2
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_MISSION   3
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_LOITER   4
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_RTL   5
 
#define COMMANDER_STATE_MAIN_STATE_ACRO   6
 
#define COMMANDER_STATE_MAIN_STATE_OFFBOARD   7
 
#define COMMANDER_STATE_MAIN_STATE_STAB   8
 
#define COMMANDER_STATE_MAIN_STATE_RATTITUDE   9
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_TAKEOFF   10
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_LAND   11
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_FOLLOW_TARGET   12
 
#define COMMANDER_STATE_MAIN_STATE_AUTO_PRECLAND   13
 
#define COMMANDER_STATE_MAIN_STATE_ORBIT   14
 
#define COMMANDER_STATE_MAIN_STATE_MAX   15
 

Functions

 ORB_DECLARE (commander_state)
 

Macro Definition Documentation

◆ COMMANDER_STATE_MAIN_STATE_ACRO

#define COMMANDER_STATE_MAIN_STATE_ACRO   6

Definition at line 50 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_ALTCTL

#define COMMANDER_STATE_MAIN_STATE_ALTCTL   1

Definition at line 45 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_FOLLOW_TARGET

#define COMMANDER_STATE_MAIN_STATE_AUTO_FOLLOW_TARGET   12

Definition at line 56 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_LAND

#define COMMANDER_STATE_MAIN_STATE_AUTO_LAND   11

Definition at line 55 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_LOITER

#define COMMANDER_STATE_MAIN_STATE_AUTO_LOITER   4

Definition at line 48 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_MISSION

#define COMMANDER_STATE_MAIN_STATE_AUTO_MISSION   3

Definition at line 47 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_PRECLAND

#define COMMANDER_STATE_MAIN_STATE_AUTO_PRECLAND   13

Definition at line 57 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_RTL

#define COMMANDER_STATE_MAIN_STATE_AUTO_RTL   5

Definition at line 49 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_AUTO_TAKEOFF

#define COMMANDER_STATE_MAIN_STATE_AUTO_TAKEOFF   10

Definition at line 54 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_MANUAL

#define COMMANDER_STATE_MAIN_STATE_MANUAL   0

Definition at line 44 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_MAX

#define COMMANDER_STATE_MAIN_STATE_MAX   15

Definition at line 59 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_OFFBOARD

#define COMMANDER_STATE_MAIN_STATE_OFFBOARD   7

Definition at line 51 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_ORBIT

#define COMMANDER_STATE_MAIN_STATE_ORBIT   14

Definition at line 58 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_POSCTL

#define COMMANDER_STATE_MAIN_STATE_POSCTL   2

Definition at line 46 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_RATTITUDE

#define COMMANDER_STATE_MAIN_STATE_RATTITUDE   9

Definition at line 53 of file commander_state.h.

◆ COMMANDER_STATE_MAIN_STATE_STAB

#define COMMANDER_STATE_MAIN_STATE_STAB   8

Definition at line 52 of file commander_state.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( commander_state  )