github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_terrain_report.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Streamed from drone to report progress of terrain map download (initiated by TERRAIN_REQUEST), or sent as a response to a TERRAIN_CHECK request. See terrain protocol docs: https://mavlink.io/en/services/terrain.html 6 type MessageTerrainReport struct { 7 // Latitude 8 Lat int32 9 // Longitude 10 Lon int32 11 // grid spacing (zero if terrain at this location unavailable) 12 Spacing uint16 13 // Terrain height MSL 14 TerrainHeight float32 15 // Current vehicle height above lat/lon terrain height 16 CurrentHeight float32 17 // Number of 4x4 terrain blocks waiting to be received or read from disk 18 Pending uint16 19 // Number of 4x4 terrain blocks in memory 20 Loaded uint16 21 } 22 23 // GetID implements the message.Message interface. 24 func (*MessageTerrainReport) GetID() uint32 { 25 return 136 26 }