Skip to content

Commit

Permalink
FOCUS_TYPE_METRES - add (mavlink#1235)
Browse files Browse the repository at this point in the history
* FOCUS_TYPE_METRES - add

* Run formatter
  • Loading branch information
hamishwillee authored Sep 16, 2019
1 parent 2876e4c commit af677f7
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 @@ -3315,6 +3315,9 @@
<entry value="2" name="ZOOM_TYPE_RANGE">
<description>Zoom value as proportion of full camera range (a value between 0.0 and 100.0)</description>
</entry>
<entry value="3" name="ZOOM_TYPE_FOCAL_LENGTH">
<description>Zoom value/variable focal length in milimetres. Note that there is no message to get the valid zoom range of the camera, so this can type can only be used for cameras where the zoom range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera)</description>
</entry>
</enum>
<enum name="SET_FOCUS_TYPE">
<description>Focus types for MAV_CMD_SET_CAMERA_FOCUS</description>
Expand All @@ -3327,6 +3330,9 @@
<entry value="2" name="FOCUS_TYPE_RANGE">
<description>Focus value as proportion of full camera focus range (a value between 0.0 and 100.0)</description>
</entry>
<entry value="3" name="FOCUS_TYPE_METERS">
<description>Focus value in metres. Note that there is no message to get the valid focus range of the camera, so this can type can only be used for cameras where the range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera).</description>
</entry>
</enum>
<enum name="PARAM_ACK">
<description>Result from a PARAM_EXT_SET message.</description>
Expand Down

0 comments on commit af677f7

Please sign in to comment.