1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-05 13:24:11 +01:00
LibrePilot/shared/uavobjectdefinition/flightbatterystate.xml

20 lines
1.2 KiB
XML
Raw Normal View History

2013-04-05 22:46:56 +02:00
<xml>
<object name="FlightBatteryState" singleinstance="true" settings="false" category="Sensors">
2013-04-05 22:46:56 +02:00
<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"/>
2013-04-05 22:46:56 +02:00
<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>