mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
4892fdb33d
Previously, when unconnected, only the flighttelemetrystats UAVO was Tx'd. All other UAVOs were inhibited. This led to zero telemetry data when the connection to the GCS was gone. This precluded getting useful telemetry from a receive-only station. This commit changes two main areas. First, UAVO updates are now allowed regardless of the "connected" state between the GCS/FC. Second, it makes both the flighttelemetrystats and gcstelemetrystats UAVOs un-acked. This prevents these objects from blocking all other UAVOs while they wait for their ack. This is OK since the real "connection" negotiation happens via the states exchanged in the Status field of these UAVOs.
16 lines
962 B
XML
16 lines
962 B
XML
<xml>
|
|
<object name="GCSTelemetryStats" singleinstance="true" settings="false">
|
|
<description>The telemetry statistics from the ground computer</description>
|
|
<field name="Status" units="" type="enum" elements="1" options="Disconnected,HandshakeReq,HandshakeAck,Connected"/>
|
|
<field name="TxDataRate" units="bytes/sec" type="float" elements="1"/>
|
|
<field name="RxDataRate" units="bytes/sec" type="float" elements="1"/>
|
|
<field name="TxFailures" units="count" type="uint32" elements="1"/>
|
|
<field name="RxFailures" units="count" type="uint32" elements="1"/>
|
|
<field name="TxRetries" units="count" type="uint32" elements="1"/>
|
|
<access gcs="readwrite" flight="readwrite"/>
|
|
<telemetrygcs acked="false" updatemode="periodic" period="5000"/>
|
|
<telemetryflight acked="false" updatemode="manual" period="0"/>
|
|
<logging updatemode="manual" period="0"/>
|
|
</object>
|
|
</xml>
|