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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Set the magnetometer offsets
     6  type MessageSetMagOffsets struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// Magnetometer X offset.
    12  	MagOfsX int16
    13  	// Magnetometer Y offset.
    14  	MagOfsY int16
    15  	// Magnetometer Z offset.
    16  	MagOfsZ int16
    17  }
    18  
    19  // GetID implements the message.Message interface.
    20  func (*MessageSetMagOffsets) GetID() uint32 {
    21  	return 151
    22  }