github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_mag_cal_progress.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 // Reports progress of compass calibration. 6 type MessageMagCalProgress struct { 7 // Compass being calibrated. 8 CompassId uint8 9 // Bitmask of compasses being calibrated. 10 CalMask uint8 11 // Calibration Status. 12 CalStatus MAG_CAL_STATUS `mavenum:"uint8"` 13 // Attempt number. 14 Attempt uint8 15 // Completion percentage. 16 CompletionPct uint8 17 // Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid). 18 CompletionMask [10]uint8 19 // Body frame direction vector for display. 20 DirectionX float32 21 // Body frame direction vector for display. 22 DirectionY float32 23 // Body frame direction vector for display. 24 DirectionZ float32 25 } 26 27 // GetID implements the message.Message interface. 28 func (*MessageMagCalProgress) GetID() uint32 { 29 return 191 30 }