vehicle_command_ack: rename result_param1 to progress and comment usage

To avoid confusion:
- naming consistent with MAVLink definition
- comments about the few different ways the field is used
This commit is contained in:
Matthias Grob
2024-06-18 16:44:11 +02:00
parent ac13fb77a9
commit e2c80c7970
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ uint8 ORB_QUEUE_LENGTH = 4
uint32 command # Command that is being acknowledged
uint8 result # Command result
uint8 result_param1 # Also used as progress[%], it can be set with the reason why the command was denied, or the progress percentage when result is MAV_RESULT_IN_PROGRESS
uint8 progress # Also used as progress[%], it can be set with the reason why the command was denied, or the progress percentage when result is MAV_RESULT_IN_PROGRESS
int32 result_param2 # Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied.
uint8 target_system
uint16 target_component # Target component / mode executor