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

Go to the source code of this file.

Classes

struct  vehicle_status_s
 

Macros

#define VEHICLE_STATUS_ARMING_STATE_INIT   0
 
#define VEHICLE_STATUS_ARMING_STATE_STANDBY   1
 
#define VEHICLE_STATUS_ARMING_STATE_ARMED   2
 
#define VEHICLE_STATUS_ARMING_STATE_STANDBY_ERROR   3
 
#define VEHICLE_STATUS_ARMING_STATE_SHUTDOWN   4
 
#define VEHICLE_STATUS_ARMING_STATE_IN_AIR_RESTORE   5
 
#define VEHICLE_STATUS_ARMING_STATE_MAX   6
 
#define VEHICLE_STATUS_FAILURE_NONE   0
 
#define VEHICLE_STATUS_FAILURE_ROLL   1
 
#define VEHICLE_STATUS_FAILURE_PITCH   2
 
#define VEHICLE_STATUS_FAILURE_ALT   4
 
#define VEHICLE_STATUS_HIL_STATE_OFF   0
 
#define VEHICLE_STATUS_HIL_STATE_ON   1
 
#define VEHICLE_STATUS_NAVIGATION_STATE_MANUAL   0
 
#define VEHICLE_STATUS_NAVIGATION_STATE_ALTCTL   1
 
#define VEHICLE_STATUS_NAVIGATION_STATE_POSCTL   2
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_MISSION   3
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LOITER   4
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTL   5
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RCRECOVER   6
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTGS   7
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDENGFAIL   8
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDGPSFAIL   9
 
#define VEHICLE_STATUS_NAVIGATION_STATE_ACRO   10
 
#define VEHICLE_STATUS_NAVIGATION_STATE_UNUSED   11
 
#define VEHICLE_STATUS_NAVIGATION_STATE_DESCEND   12
 
#define VEHICLE_STATUS_NAVIGATION_STATE_TERMINATION   13
 
#define VEHICLE_STATUS_NAVIGATION_STATE_OFFBOARD   14
 
#define VEHICLE_STATUS_NAVIGATION_STATE_STAB   15
 
#define VEHICLE_STATUS_NAVIGATION_STATE_RATTITUDE   16
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_TAKEOFF   17
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LAND   18
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_FOLLOW_TARGET   19
 
#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_PRECLAND   20
 
#define VEHICLE_STATUS_NAVIGATION_STATE_ORBIT   21
 
#define VEHICLE_STATUS_NAVIGATION_STATE_MAX   22
 
#define VEHICLE_STATUS_RC_IN_MODE_DEFAULT   0
 
#define VEHICLE_STATUS_RC_IN_MODE_OFF   1
 
#define VEHICLE_STATUS_RC_IN_MODE_GENERATED   2
 
#define VEHICLE_STATUS_VEHICLE_TYPE_UNKNOWN   0
 
#define VEHICLE_STATUS_VEHICLE_TYPE_ROTARY_WING   1
 
#define VEHICLE_STATUS_VEHICLE_TYPE_FIXED_WING   2
 
#define VEHICLE_STATUS_VEHICLE_TYPE_ROVER   3
 

Functions

 ORB_DECLARE (vehicle_status)
 

Macro Definition Documentation

◆ VEHICLE_STATUS_ARMING_STATE_ARMED

#define VEHICLE_STATUS_ARMING_STATE_ARMED   2

Definition at line 46 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_IN_AIR_RESTORE

#define VEHICLE_STATUS_ARMING_STATE_IN_AIR_RESTORE   5

Definition at line 49 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_INIT

#define VEHICLE_STATUS_ARMING_STATE_INIT   0

Definition at line 44 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_MAX

#define VEHICLE_STATUS_ARMING_STATE_MAX   6

Definition at line 50 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_SHUTDOWN

#define VEHICLE_STATUS_ARMING_STATE_SHUTDOWN   4

Definition at line 48 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_STANDBY

#define VEHICLE_STATUS_ARMING_STATE_STANDBY   1

Definition at line 45 of file vehicle_status.h.

◆ VEHICLE_STATUS_ARMING_STATE_STANDBY_ERROR

#define VEHICLE_STATUS_ARMING_STATE_STANDBY_ERROR   3

Definition at line 47 of file vehicle_status.h.

◆ VEHICLE_STATUS_FAILURE_ALT

#define VEHICLE_STATUS_FAILURE_ALT   4

Definition at line 54 of file vehicle_status.h.

◆ VEHICLE_STATUS_FAILURE_NONE

#define VEHICLE_STATUS_FAILURE_NONE   0

Definition at line 51 of file vehicle_status.h.

◆ VEHICLE_STATUS_FAILURE_PITCH

#define VEHICLE_STATUS_FAILURE_PITCH   2

Definition at line 53 of file vehicle_status.h.

◆ VEHICLE_STATUS_FAILURE_ROLL

#define VEHICLE_STATUS_FAILURE_ROLL   1

Definition at line 52 of file vehicle_status.h.

◆ VEHICLE_STATUS_HIL_STATE_OFF

#define VEHICLE_STATUS_HIL_STATE_OFF   0

Definition at line 55 of file vehicle_status.h.

◆ VEHICLE_STATUS_HIL_STATE_ON

#define VEHICLE_STATUS_HIL_STATE_ON   1

Definition at line 56 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_ACRO

#define VEHICLE_STATUS_NAVIGATION_STATE_ACRO   10

Definition at line 67 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_ALTCTL

#define VEHICLE_STATUS_NAVIGATION_STATE_ALTCTL   1

Definition at line 58 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_FOLLOW_TARGET

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_FOLLOW_TARGET   19

Definition at line 76 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LAND

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LAND   18

Definition at line 75 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDENGFAIL

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDENGFAIL   8

Definition at line 65 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDGPSFAIL

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LANDGPSFAIL   9

Definition at line 66 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LOITER

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_LOITER   4

Definition at line 61 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_MISSION

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_MISSION   3

Definition at line 60 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_PRECLAND

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_PRECLAND   20

Definition at line 77 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RCRECOVER

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RCRECOVER   6

Definition at line 63 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTGS

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTGS   7

Definition at line 64 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTL

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_RTL   5

Definition at line 62 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_AUTO_TAKEOFF

#define VEHICLE_STATUS_NAVIGATION_STATE_AUTO_TAKEOFF   17

Definition at line 74 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_DESCEND

#define VEHICLE_STATUS_NAVIGATION_STATE_DESCEND   12

Definition at line 69 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_MANUAL

#define VEHICLE_STATUS_NAVIGATION_STATE_MANUAL   0

Definition at line 57 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_MAX

#define VEHICLE_STATUS_NAVIGATION_STATE_MAX   22

Definition at line 79 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_OFFBOARD

#define VEHICLE_STATUS_NAVIGATION_STATE_OFFBOARD   14

Definition at line 71 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_ORBIT

#define VEHICLE_STATUS_NAVIGATION_STATE_ORBIT   21

Definition at line 78 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_POSCTL

#define VEHICLE_STATUS_NAVIGATION_STATE_POSCTL   2

Definition at line 59 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_RATTITUDE

#define VEHICLE_STATUS_NAVIGATION_STATE_RATTITUDE   16

Definition at line 73 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_STAB

#define VEHICLE_STATUS_NAVIGATION_STATE_STAB   15

Definition at line 72 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_TERMINATION

#define VEHICLE_STATUS_NAVIGATION_STATE_TERMINATION   13

Definition at line 70 of file vehicle_status.h.

◆ VEHICLE_STATUS_NAVIGATION_STATE_UNUSED

#define VEHICLE_STATUS_NAVIGATION_STATE_UNUSED   11

Definition at line 68 of file vehicle_status.h.

◆ VEHICLE_STATUS_RC_IN_MODE_DEFAULT

#define VEHICLE_STATUS_RC_IN_MODE_DEFAULT   0

Definition at line 80 of file vehicle_status.h.

◆ VEHICLE_STATUS_RC_IN_MODE_GENERATED

#define VEHICLE_STATUS_RC_IN_MODE_GENERATED   2

Definition at line 82 of file vehicle_status.h.

◆ VEHICLE_STATUS_RC_IN_MODE_OFF

#define VEHICLE_STATUS_RC_IN_MODE_OFF   1

Definition at line 81 of file vehicle_status.h.

◆ VEHICLE_STATUS_VEHICLE_TYPE_FIXED_WING

#define VEHICLE_STATUS_VEHICLE_TYPE_FIXED_WING   2

Definition at line 85 of file vehicle_status.h.

◆ VEHICLE_STATUS_VEHICLE_TYPE_ROTARY_WING

#define VEHICLE_STATUS_VEHICLE_TYPE_ROTARY_WING   1

Definition at line 84 of file vehicle_status.h.

◆ VEHICLE_STATUS_VEHICLE_TYPE_ROVER

#define VEHICLE_STATUS_VEHICLE_TYPE_ROVER   3

Definition at line 86 of file vehicle_status.h.

◆ VEHICLE_STATUS_VEHICLE_TYPE_UNKNOWN

#define VEHICLE_STATUS_VEHICLE_TYPE_UNKNOWN   0

Definition at line 83 of file vehicle_status.h.

Function Documentation

◆ ORB_DECLARE()

ORB_DECLARE ( vehicle_status  )