1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00
LibrePilot/shared/uavobjectdefinition/flightbatterystate.xml
Corvus Corax 6f38e26a53 Categorizing all UAVObjects into 5 main categories:
State, Sensors, System, Navigation, Control
2013-06-22 19:58:54 +02:00

17 lines
1.0 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"/>
<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>