Merged in filnet/librepilot/LP-558_accept_case_insensitive_uav_enum_values (pull...
[librepilot.git] / shared / uavobjectdefinition / flightbatterysettings.xml
blob1d60ff6fa4ac29a68de0e87298f4bd444e68d134
1 <xml>
2     <object name="FlightBatterySettings" singleinstance="true" settings="true" category="Sensors">
3         <description>Flight Battery configuration.</description>
4         
5         <field name="Type" units="" type="enum" elements="1" options="LiPo,LiHV,A123,LiCo,LiFeSO4,None" defaultvalue="LiPo"/>
6         <field name="NbCells" units=""  type="uint8"  elements="1" defaultvalue="0"/>
7         <field name="Capacity" units="mAh"  type="uint32"  elements="1" defaultvalue="0"/>
8         <field name="CellVoltageThresholds" units="V"  type="float" elementnames="Warning, Critical" defaultvalue="3.4,3.1"/>
9         <field name="SensorCalibrations" units="" type="float" elementnames="VoltageFactor, CurrentFactor, VoltageZero, CurrentZero" defaultvalue="1.0, 1.0, 0.0, 0.0"/>
10         <field name="ResetConsumedEnergy" units="bool" type="enum" elements="1" options="False,True" defaultvalue="False"/>
11         <access gcs="readwrite" flight="readwrite"/>
12         <telemetrygcs acked="true" updatemode="onchange" period="0"/>
13         <telemetryflight acked="true" updatemode="onchange" period="0"/>
14         <logging updatemode="manual" period="0"/>
15     </object>
16 </xml>