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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Sets a desired vehicle position in a local north-east-down coordinate frame. Used by an external controller to command the vehicle (manual controller or other system).
     6  type MessageSetPositionTargetLocalNed struct {
     7  	// Timestamp (time since system boot).
     8  	TimeBootMs uint32
     9  	// System ID
    10  	TargetSystem uint8
    11  	// Component ID
    12  	TargetComponent uint8
    13  	// Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9
    14  	CoordinateFrame MAV_FRAME `mavenum:"uint8"`
    15  	// Bitmap to indicate which dimensions should be ignored by the vehicle.
    16  	TypeMask POSITION_TARGET_TYPEMASK `mavenum:"uint16"`
    17  	// X Position in NED frame
    18  	X float32
    19  	// Y Position in NED frame
    20  	Y float32
    21  	// Z Position in NED frame (note, altitude is negative in NED)
    22  	Z float32
    23  	// X velocity in NED frame
    24  	Vx float32
    25  	// Y velocity in NED frame
    26  	Vy float32
    27  	// Z velocity in NED frame
    28  	Vz float32
    29  	// X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
    30  	Afx float32
    31  	// Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
    32  	Afy float32
    33  	// Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
    34  	Afz float32
    35  	// yaw setpoint
    36  	Yaw float32
    37  	// yaw rate setpoint
    38  	YawRate float32
    39  }
    40  
    41  // GetID implements the message.Message interface.
    42  func (*MessageSetPositionTargetLocalNed) GetID() uint32 {
    43  	return 84
    44  }