2 <object name="FlightBatterySettings" singleinstance="true" settings="true" category="Sensors">
3 <description>Flight Battery configuration.</description>
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"/>