Skip to content

Commit

Permalink
Param protocol bits: revert float, move c_style (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Mar 14, 2022
1 parent 1942c71 commit 485f7d0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2969,10 +2969,9 @@
Note that MISSION_ITEM is deprecated, and autopilots should use MISSION_INT instead.
</description>
</entry>
<entry value="2" name="MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST">
<description>Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
</description>
<entry value="2" name="MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT">
<deprecated since="2022-03" replaced_by="MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST"/>
<description>Autopilot supports the new param float message type.</description>
</entry>
<entry value="4" name="MAV_PROTOCOL_CAPABILITY_MISSION_INT">
<description>Autopilot supports MISSION_ITEM_INT scaled integer message type.
Expand Down Expand Up @@ -3023,6 +3022,11 @@
<entry value="65536" name="MAV_PROTOCOL_CAPABILITY_RESERVED2">
<description>Reserved for future use.</description>
</entry>
<entry value="131072" name="MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST">
<description>Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding.
Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
</description>
</entry>
</enum>
<enum name="MAV_MISSION_TYPE">
<description>Type of mission items being requested/sent in mission protocol.</description>
Expand Down

0 comments on commit 485f7d0

Please sign in to comment.