mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
f8d196ffe8
The module can be configured to enable what's needed from board voltage, battery voltage and battery current measurement. In GCS the POWER box in system healt will show alarm related to the supply voltage to the board. If a power warning/critical alarm is raised, the warning condition is left even if the board voltage return to an acceptable value. Conflicts: ground/openpilotgcs/share/openpilotgcs/diagrams/default/system-health.svg shared/uavobjectdefinition/systemalarms.xml
20 lines
1.1 KiB
XML
20 lines
1.1 KiB
XML
<xml>
|
|
<object name="FlightBatterySettings" singleinstance="true" settings="true">
|
|
<description>Flight Battery configuration.</description>
|
|
|
|
<field name="Type" units="" type="enum" elements="1" options="LiPo,A123,LiCo,LiFeSO4,None" defaultvalue="LiPo"/>
|
|
<field name="NbCells" units="" type="uint8" elements="1" defaultvalue="3"/>
|
|
<field name="Capacity" units="mAh" type="uint32" elements="1" defaultvalue="2200"/>
|
|
|
|
<field name="VoltageThresholds" units="V" type="float" elementnames="Warning, Alarm" defaultvalue="9.8, 9.2"/>
|
|
|
|
<field name="SensorType" units="" type="enum" elementnames="BatteryCurrent,BatteryVoltage,BoardVoltage" options="Disabled,Enabled" defaultvalue="Disabled"/>
|
|
<field name="SensorCalibrations" units="" type="float" elementnames="VoltageFactor, CurrentFactor" defaultvalue="1.0, 1.0"/>
|
|
|
|
<access gcs="readwrite" flight="readwrite"/>
|
|
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
|
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
|
<logging updatemode="manual" period="0"/>
|
|
</object>
|
|
</xml>
|