SetPositionTargetGlobalInt class

Sets a desired vehicle position, velocity, and/or acceleration in a global coordinate system (WGS84). Used by an external controller to command the vehicle (manual controller or other system).

SET_POSITION_TARGET_GLOBAL_INT

Implemented types

Constructors

SetPositionTargetGlobalInt({required uint32_t timeBootMs, required int32_t latInt, required int32_t lonInt, required float alt, 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 uint8_t targetSystem, required uint8_t targetComponent, required MavFrame coordinateFrame})
SetPositionTargetGlobalInt.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
alt float
Altitude (MSL, Relative to home, or AGL - depending on frame)
final
coordinateFrame MavFrame
Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11
final
hashCode int
The hash code for this object.
no setterinherited
latInt int32_t
X Position in WGS84 frame
final
lonInt int32_t
Y Position in WGS84 frame
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetComponent uint8_t
Component ID
final
targetSystem uint8_t
System ID
final
timeBootMs uint32_t
Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency.
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
yaw float
yaw setpoint
final
yawRate float
yaw rate setpoint
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