forked from Archive/PX4-Autopilot
msg: add orbit main and navigation state
This commit is contained in:
parent
21bcc0d2f4
commit
77d37c5b7f
|
@ -15,6 +15,7 @@ uint8 MAIN_STATE_AUTO_TAKEOFF = 10
|
|||
uint8 MAIN_STATE_AUTO_LAND = 11
|
||||
uint8 MAIN_STATE_AUTO_FOLLOW_TARGET = 12
|
||||
uint8 MAIN_STATE_AUTO_PRECLAND = 13
|
||||
uint8 MAIN_STATE_MAX = 14
|
||||
uint8 MAIN_STATE_ORBIT = 14
|
||||
uint8 MAIN_STATE_MAX = 15
|
||||
|
||||
uint8 main_state # main state machine
|
||||
|
|
|
@ -42,7 +42,8 @@ uint8 NAVIGATION_STATE_AUTO_TAKEOFF = 17 # Takeoff
|
|||
uint8 NAVIGATION_STATE_AUTO_LAND = 18 # Land
|
||||
uint8 NAVIGATION_STATE_AUTO_FOLLOW_TARGET = 19 # Auto Follow
|
||||
uint8 NAVIGATION_STATE_AUTO_PRECLAND = 20 # Precision land with landing target
|
||||
uint8 NAVIGATION_STATE_MAX = 21
|
||||
uint8 NAVIGATION_STATE_ORBIT = 21 # Orbit in a circle
|
||||
uint8 NAVIGATION_STATE_MAX = 22
|
||||
|
||||
uint8 RC_IN_MODE_DEFAULT = 0
|
||||
uint8 RC_IN_MODE_OFF = 1
|
||||
|
|
Loading…
Reference in New Issue