GCS_MAVLink: added terrain mavlink messages
This commit is contained in:
parent
ee7fc984f0
commit
f26bbb6ddb
@ -2296,32 +2296,18 @@
|
||||
</message>
|
||||
<message id="133" name="TERRAIN_REQUEST">
|
||||
<description>Request for terrain data and terrain status</description>
|
||||
<field type="int32_t" name="lat">Latitude of SW corner of first grid (degrees *10^7)</field>
|
||||
<field type="int32_t" name="lon">Longitude of SW corner of first grid (in degrees *10^7)</field>
|
||||
<field type="uint32_t" name="lat">Latitude of SW corner of first grid (degrees *10^7)</field>
|
||||
<field type="uint32_t" name="lon">Longitude of SW corner of first grid (in degrees *10^7)</field>
|
||||
<field type="uint16_t" name="mask">Bitmask of requested 5x5 grids (row major 4x4 array of grids)</field>
|
||||
<field type="uint16_t" name="grid_spacing">Grid spacing in meters</field>
|
||||
<field type="uint64_t" name="mask" print_format="0x%07x">Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits)</field>
|
||||
<field type="uint16_t" name="flags">Terrain status flags</field>
|
||||
</message>
|
||||
<message id="134" name="TERRAIN_DATA">
|
||||
<description>Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST</description>
|
||||
<field type="int32_t" name="lat">Latitude of SW corner of first grid (degrees *10^7)</field>
|
||||
<field type="int32_t" name="lon">Longitude of SW corner of first grid (in degrees *10^7)</field>
|
||||
<description>Terrain data sent from GCS</description>
|
||||
<field type="uint32_t" name="lat">Latitude of SW corner of first grid (degrees *10^7)</field>
|
||||
<field type="uint32_t" name="lon">Longitude of SW corner of first grid (in degrees *10^7)</field>
|
||||
<field type="uint16_t" name="grid_spacing">Grid spacing in meters</field>
|
||||
<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>
|
||||
<field type="int16_t[25]" name="data">Terrain data in meters AMSL</field>
|
||||
</message>
|
||||
<message id="147" name="BATTERY_STATUS">
|
||||
<description>Transmitte battery informations for a accu pack.</description>
|
||||
|
Loading…
Reference in New Issue
Block a user