mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-11 19:24:10 +01:00
5e6d87b2db
The UAVObject definition (.xml) files are used by both the GCS build as well as the flight software builds. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2526 ebee16cc-31ac-478f-84a7-5cbb03baadba
16 lines
965 B
XML
16 lines
965 B
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="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="never" period="0"/>
|
|
</object>
|
|
</xml>
|