PositionTargetGlobalInt 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_GLOBAL_INT if the vehicle is being controlled this way.
POSITION_TARGET_GLOBAL_INT
- Implemented types
Constructors
- PositionTargetGlobalInt({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 MavFrame coordinateFrame})
- PositionTargetGlobalInt.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, AGL or relative to home altitude, 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
- 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