github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_terrain_data.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // 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 6 type MessageTerrainData struct { 7 // Latitude of SW corner of first grid 8 Lat int32 9 // Longitude of SW corner of first grid 10 Lon int32 11 // Grid spacing 12 GridSpacing uint16 13 // bit within the terrain request mask 14 Gridbit uint8 15 // Terrain data MSL 16 Data [16]int16 17 } 18 19 // GetID implements the message.Message interface. 20 func (*MessageTerrainData) GetID() uint32 { 21 return 134 22 }