TerrainData class

Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST. See terrain protocol docs: https://mavlink.io/en/services/terrain.html

TERRAIN_DATA

Implemented types

Constructors

TerrainData({required int32_t lat, required int32_t lon, required uint16_t gridSpacing, required List<int16_t> data, required uint8_t gridbit})
TerrainData.parse(ByteData data_)
factory

Properties

data List<int16_t>
Terrain data MSL
final
gridbit uint8_t
bit within the terrain request mask
final
gridSpacing uint16_t
Grid spacing
final
hashCode int
The hash code for this object.
no setterinherited
lat int32_t
Latitude of SW corner of first grid
final
lon int32_t
Longitude of SW corner of first grid
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int