github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_sensor_offsets.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.
     6  type MessageSensorOffsets struct {
     7  	// Magnetometer X offset.
     8  	MagOfsX int16
     9  	// Magnetometer Y offset.
    10  	MagOfsY int16
    11  	// Magnetometer Z offset.
    12  	MagOfsZ int16
    13  	// Magnetic declination.
    14  	MagDeclination float32
    15  	// Raw pressure from barometer.
    16  	RawPress int32
    17  	// Raw temperature from barometer.
    18  	RawTemp int32
    19  	// Gyro X calibration.
    20  	GyroCalX float32
    21  	// Gyro Y calibration.
    22  	GyroCalY float32
    23  	// Gyro Z calibration.
    24  	GyroCalZ float32
    25  	// Accel X calibration.
    26  	AccelCalX float32
    27  	// Accel Y calibration.
    28  	AccelCalY float32
    29  	// Accel Z calibration.
    30  	AccelCalZ float32
    31  }
    32  
    33  // GetID implements the message.Message interface.
    34  func (*MessageSensorOffsets) GetID() uint32 {
    35  	return 150
    36  }