github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/avssuas/message_avss_drone_position.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package avssuas 4 5 // Drone position. 6 type MessageAvssDronePosition struct { 7 // Timestamp (time since FC boot). 8 TimeBootMs uint32 9 // Latitude, expressed 10 Lat int32 11 // Longitude, expressed 12 Lon int32 13 // Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL. 14 Alt int32 15 // Altitude above ground, This altitude is measured by a ultrasound, Laser rangefinder or millimeter-wave radar 16 GroundAlt float32 17 // This altitude is measured by a barometer 18 BarometerAlt float32 19 } 20 21 // GetID implements the message.Message interface. 22 func (*MessageAvssDronePosition) GetID() uint32 { 23 return 60051 24 }