mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 06:23:34 +08:00
msg: Use the correctly data types on vehicle_command
Lets save a few bytes using the right data types.
This commit is contained in:
committed by
Lorenz Meier
parent
1af5ed9024
commit
a8cfd6f36a
@@ -98,9 +98,9 @@ float32 param4 # Parameter 4, as defined by MAVLink uint32 VEHICLE_CMD enum.
|
||||
float64 param5 # Parameter 5, as defined by MAVLink uint32 VEHICLE_CMD enum.
|
||||
float64 param6 # Parameter 6, as defined by MAVLink uint32 VEHICLE_CMD enum.
|
||||
float32 param7 # Parameter 7, as defined by MAVLink uint32 VEHICLE_CMD enum.
|
||||
uint32 command # Command ID, as defined MAVLink by uint32 VEHICLE_CMD enum.
|
||||
uint32 target_system # System which should execute the command
|
||||
uint32 target_component # Component which should execute the command, 0 for all components
|
||||
uint32 source_system # System sending the command
|
||||
uint32 source_component # Component sending the command
|
||||
uint16 command # Command ID, as defined MAVLink by uint32 VEHICLE_CMD enum.
|
||||
uint8 target_system # System which should execute the command
|
||||
uint8 target_component # Component which should execute the command, 0 for all components
|
||||
uint8 source_system # System sending the command
|
||||
uint8 source_component # Component sending the command
|
||||
uint8 confirmation # 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)
|
||||
|
||||
Reference in New Issue
Block a user