Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mavlink camera description file for QGC
<?xml version="1.0" encoding="UTF-8" ?>
<mavlinkcamera>
<definition version="1">
<model>HD Pro Webcam C920</model>
<vendor>HD Pro Webcam C920</vendor>
</definition>
<parameters>
<parameter name="camera-mode" type="uint32" default="1" control="0">
<description>Camera Mode</description>
<options>
<option name="still" value="0" />
<exclusions>
<exclude>video-size</exclude>
</exclusions>
<option name="video" value="1" />
</options>
</parameter>
<parameter name="brightness" type="int32" default="128" min="0" max="255" step="1">
<description>Brightness</description>
</parameter>
<parameter name="contrast" type="int32" default="128" min="0" max="255" step="1">
<description>Contrast</description>
</parameter>
<parameter name="saturation" type="int32" default="128" min="0" max="255" step="1">
<description>Saturation</description>
</parameter>
<parameter name="wb-mode" type="int32" default="1">
<description>White Balance Automatic</description>
<options>
<option name="Manual mode" value="0" />
<option name="Auto mode" value="1">
<exclusions>
<exclude>wb-temp</exclude>
</exclusions>
</option>
</options>
</parameter>
<parameter name="gain" type="int32" default="0" min="0" max="255" step="1">
<description>Gain</description>
</parameter>
<parameter name="power-mode" type="int32" default="2">
<description>Power Line Frequency</description>
<options>
<option name="Disabled" value="0" />
<option name="50 Hz" value="1" />
<option name="60 Hz" value="2" />
</options>
</parameter>
<parameter name="wb-temp" type="int32" default="4000" min="2000" max="6500" step="1">
<description>White Balance Temperature</description>
</parameter>
<parameter name="sharpness" type="int32" default="128" min="0" max="255" step="1">
<description>Sharpness</description>
</parameter>
<parameter name="Backlight Compensation" type="int32" default="0" min="0" max="1" step="1">
<description>Backlight Compensation</description>
</parameter>
<parameter name="exp-mode" type="int32" default="3">
<description>Exposure Auto</description>
<options>
<option name="Manual Mode" value="1" />
<option name="Aperture Priority Mode" value="3">
<exclusions>
<exclude>Exposure (Absolute)</exclude>
</exclusions>
</option>
</options>
</parameter>
<parameter name="Exposure (Absolute)" type="int32" default="250" min="3" max="2047" step="1">
<description>Exposure (Absolute)</description>
</parameter>
<parameter name="Exposure, Auto Priority" type="int32" default="0" min="0" max="1" step="1">
<description>Exposure, Auto Priority</description>
</parameter>
<parameter name="Pan (Absolute)" type="int32" default="0" min="-36000" max="36000" step="3600">
<description>Pan (Absolute)</description>
</parameter>
<parameter name="Tilt (Absolute)" type="int32" default="0" min="-36000" max="36000" step="3600">
<description>Tilt (Absolute)</description>
</parameter>
<parameter name="Focus (absolute)" type="int32" default="0" min="0" max="250" step="5">
<description>Focus (absolute)</description>
</parameter>
<parameter name="Focus, Auto" type="int32" default="1" min="0" max="1" step="1">
<description>Focus, Auto</description>
</parameter>
<parameter name="Zoom, Absolute" type="int32" default="100" min="100" max="500" step="1">
<description>Zoom, Absolute</description>
</parameter>
</parameters>
</mavlinkcamera>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.