PositionTargetLocalNed class

Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way.

POSITION_TARGET_LOCAL_NED

Implemented types

Constructors

PositionTargetLocalNed({required uint32_t timeBootMs, required float x, required float y, required float z, required float vx, required float vy, required float vz, required float afx, required float afy, required float afz, required float yaw, required float yawRate, required PositionTargetTypemask typeMask, required MavFrame coordinateFrame})
PositionTargetLocalNed.parse(ByteData data_)
factory

Properties

afx float
X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
final
afy float
Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
final
afz float
Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N
final
coordinateFrame MavFrame
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
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
final
typeMask PositionTargetTypemask
Bitmap to indicate which dimensions should be ignored by the vehicle.
final
vx float
X velocity in NED frame
final
vy float
Y velocity in NED frame
final
vz float
Z velocity in NED frame
final
x float
X Position in NED frame
final
y float
Y Position in NED frame
final
yaw float
yaw setpoint
final
yawRate float
yaw rate setpoint
final
z float
Z Position in NED frame (note, altitude is negative in NED)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int