mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-05 13:24:11 +01:00
20 lines
1.2 KiB
XML
20 lines
1.2 KiB
XML
<xml>
|
|
<object name="FlightBatteryState" singleinstance="true" settings="false" category="Sensors">
|
|
<description>Battery status information.</description>
|
|
<field name="Voltage" units="V" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="Current" units="A" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="BoardSupplyVoltage" units="V" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="PeakCurrent" units="A" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="AvgCurrent" units="A" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="ConsumedEnergy" units="mAh" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="EstimatedFlightTime" units="sec" type="float" elements="1" defaultvalue="0.0"/>
|
|
<field name="NbCells" units="" type="uint8" elements="1" defaultvalue="3"/>
|
|
<field name="NbCellsAutodetected" units="bool" type="enum" elements="1" options="False,True" defaultvalue="False"/>
|
|
|
|
<access gcs="readonly" flight="readwrite"/>
|
|
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
|
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
|
<logging updatemode="manual" period="0"/>
|
|
</object>
|
|
</xml>
|