1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/shared/uavobjectdefinition/flightbatterystate.xml
2013-04-07 09:49:13 +03:00

17 lines
1.0 KiB
XML

<xml>
<object name="FlightBatteryState" singleinstance="true" settings="false">
<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"/>
<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>