Skip to content

Commit

Permalink
common.xml: Add MAV_RESULT_COMMAND_LONG_ONLY and MAV_RESULT_COMMAND_I…
Browse files Browse the repository at this point in the history
…NT_ONLY to MAV_RESULT (mavlink#1982)

* common.xml: Add MAV_RESULT_COMMAND_LONG_ONLY value to MAV_RESULT enum

* common.xml: Add MAV_RESULT_COMMAND_INT_ONLY value to MAV_RESULT enum
  • Loading branch information
nexton-winjeel authored and peterbarker committed Nov 27, 2023
1 parent 8ddb9e2 commit 03b5bb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2278,6 +2278,12 @@
<entry value="5" name="MAV_RESULT_IN_PROGRESS">
<description>Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation. There is no need for the sender to retry the command, but if done during execution, the component will return MAV_RESULT_IN_PROGRESS with an updated progress.</description>
</entry>
<entry value="7" name="MAV_RESULT_COMMAND_LONG_ONLY">
<description>Command is valid, but it is only accepted when sent as a COMMAND_LONG (as it has float values for params 5 and 6).</description>
</entry>
<entry value="8" name="MAV_RESULT_COMMAND_INT_ONLY">
<description>Command is valid, but it is only accepted when sent as a COMMAND_INT (as it encodes a location in params 5, 6 and 7, and hence requires a reference MAV_FRAME).</description>
</entry>
</enum>
<enum name="MAV_MISSION_RESULT">
<description>Result of mission operation (in a MISSION_ACK message).</description>
Expand Down

0 comments on commit 03b5bb4

Please sign in to comment.