Merged in filnet/librepilot/LP-558_accept_case_insensitive_uav_enum_values (pull...
[librepilot.git] / shared / uavobjectdefinition / flightbatterystate.xml
blob6e1ab87fe347f79aae01b168228fe8fd43642925
1 <xml>
2     <object name="FlightBatteryState" singleinstance="true" settings="false" category="Sensors">
3         <description>Battery status information.</description> 
4         <field name="Voltage" units="V" type="float" elements="1" defaultvalue="0.0"/>
5         <field name="Current" units="A" type="float"  elements="1" defaultvalue="0.0"/>
6         <field name="BoardSupplyVoltage" units="V" type="float" elements="1" defaultvalue="0.0"/>
7         <field name="PeakCurrent" units="A" type="float"  elements="1" defaultvalue="0.0"/>
8         <field name="AvgCurrent" units="A" type="float"  elements="1" defaultvalue="0.0"/>
9         <field name="ConsumedEnergy" units="mAh" type="float" elements="1" defaultvalue="0.0"/>           
10         <field name="EstimatedFlightTime" units="sec"  type="float"  elements="1" defaultvalue="0.0"/>
11         <field name="NbCells" units=""  type="uint8"  elements="1" defaultvalue="3"/>
12         <field name="NbCellsAutodetected" units="bool" type="enum" elements="1" options="False,True" defaultvalue="False"/>
13         
14         <access gcs="readonly" flight="readwrite"/>
15         <telemetrygcs acked="false" updatemode="manual" period="0"/>
16         <telemetryflight acked="false" updatemode="periodic" period="1000"/>
17         <logging updatemode="manual" period="0"/>
18     </object>
19 </xml>