mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
vehicle_command: added enum for speed types
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
parent
d41de33a85
commit
b335710655
@ -155,6 +155,11 @@ uint8 FAILURE_TYPE_SLOW = 5
|
||||
uint8 FAILURE_TYPE_DELAYED = 6
|
||||
uint8 FAILURE_TYPE_INTERMITTENT = 7
|
||||
|
||||
uint8 SPEED_TYPE_AIRSPEED = 0
|
||||
uint8 SPEED_TYPE_GROUNDSPEED = 1
|
||||
uint8 SPEED_TYPE_CLIMB_SPEED = 2
|
||||
uint8 SPEED_TYPE_DESCEND_SPEED = 3
|
||||
|
||||
# used as param1 in ARM_DISARM command
|
||||
int8 ARMING_ACTION_DISARM = 0
|
||||
int8 ARMING_ACTION_ARM = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user