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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package development
     4  
     5  // Current motion information from sensors on a target
     6  type MessageTargetAbsolute struct {
     7  	// Timestamp (UNIX epoch time).
     8  	Timestamp uint64
     9  	// The ID of the target if multiple targets are present
    10  	Id uint8
    11  	// Bitmap to indicate the sensor's reporting capabilities
    12  	SensorCapabilities TARGET_ABSOLUTE_SENSOR_CAPABILITY_FLAGS `mavenum:"uint8"`
    13  	// Target's latitude (WGS84)
    14  	Lat int32
    15  	// Target's longitude (WGS84)
    16  	Lon int32
    17  	// Target's altitude (AMSL)
    18  	Alt float32
    19  	// Target's velocity in its body frame
    20  	Vel [3]float32
    21  	// Linear target's acceleration in its body frame
    22  	Acc [3]float32
    23  	// Quaternion of the target's orientation from its body frame to the vehicle's NED frame.
    24  	QTarget [4]float32
    25  	// Target's roll, pitch and yaw rates
    26  	Rates [3]float32
    27  	// Standard deviation of horizontal (eph) and vertical (epv) position errors
    28  	PositionStd [2]float32
    29  	// Standard deviation of the target's velocity in its body frame
    30  	VelStd [3]float32
    31  	// Standard deviation of the target's acceleration in its body frame
    32  	AccStd [3]float32
    33  }
    34  
    35  // GetID implements the message.Message interface.
    36  func (*MessageTargetAbsolute) GetID() uint32 {
    37  	return 510
    38  }