mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:23:33 +08:00
[WIP] manual_control selector hacks
This commit is contained in:
committed by
Matthias Grob
parent
e18cf3da3e
commit
2d816e0b3e
@@ -1,14 +1,17 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
|
||||
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
|
||||
|
||||
uint8 SOURCE_RC = 1 # radio control
|
||||
uint8 SOURCE_UNKNOWN = 0
|
||||
uint8 SOURCE_RC = 1 # radio control (input_rc)
|
||||
uint8 SOURCE_MAVLINK_0 = 2 # mavlink instance 0
|
||||
uint8 SOURCE_MAVLINK_1 = 3 # mavlink instance 1
|
||||
uint8 SOURCE_MAVLINK_2 = 4 # mavlink instance 2
|
||||
uint8 SOURCE_MAVLINK_3 = 5 # mavlink instance 4
|
||||
uint8 SOURCE_MAVLINK_3 = 5 # mavlink instance 3
|
||||
uint8 SOURCE_MAVLINK_4 = 6 # mavlink instance 4
|
||||
uint8 SOURCE_MAVLINK_5 = 7 # mavlink instance 5
|
||||
|
||||
uint8 data_source # where this input is coming from
|
||||
uint8 data_source
|
||||
|
||||
# Any of the channels may not be available and be set to NaN
|
||||
# to indicate that it does not contain valid data.
|
||||
@@ -38,6 +41,12 @@ float32 r # yaw stick/twist position, -1..1
|
||||
# in general corresponds to the righthand rotation around the vertical
|
||||
# (downwards) axis of the vehicle
|
||||
|
||||
# stick velocity
|
||||
float32 vx
|
||||
float32 vy
|
||||
float32 vz
|
||||
float32 vr
|
||||
|
||||
float32 flaps # flap position
|
||||
|
||||
float32 aux1
|
||||
@@ -47,3 +56,7 @@ float32 aux4
|
||||
float32 aux5
|
||||
float32 aux6
|
||||
|
||||
bool arm_gesture
|
||||
bool disarm_gesture
|
||||
|
||||
bool user_override
|
||||
|
||||
Reference in New Issue
Block a user