GCS_MAVLink: added TERRAIN_CHECK and TERRAIN_REPORT messages

This commit is contained in:
Andrew Tridgell 2014-07-22 18:06:43 +10:00
parent eeb4ad56bc
commit 0df2dd9092

View File

@ -2309,6 +2309,20 @@
<field type="uint8_t" name="gridbit">bit within the terrain request mask</field>
<field type="int16_t[16]" name="data">Terrain data in meters AMSL</field>
</message>
<message id="135" name="TERRAIN_CHECK">
<description>Request that the vehicle report terrain height at the given location. Used by GCS to check if vehicle has all terrain data needed for a mission.</description>
<field type="int32_t" name="lat">Latitude (degrees *10^7)</field>
<field type="int32_t" name="lon">Longitude (degrees *10^7)</field>
</message>
<message id="136" name="TERRAIN_REPORT">
<description>Response from a TERRAIN_CHECK request</description>
<field type="int32_t" name="lat">Latitude (degrees *10^7)</field>
<field type="int32_t" name="lon">Longitude (degrees *10^7)</field>
<field type="uint16_t" name="spacing">grid spacing (zero if terrain at this location unavailable)</field>
<field type="float" name="height">Terrain height in meters AMSL (-32767 if unavailable)</field>
<field type="uint16_t" name="pending">Number of 4x4 terrain blocks waiting to be received or read from disk</field>
<field type="uint16_t" name="loaded">Number of 4x4 terrain blocks in memory</field>
</message>
<message id="147" name="BATTERY_STATUS">
<description>Transmitte battery informations for a accu pack.</description>
<field type="uint8_t" name="accu_id">Accupack ID</field>