TrajectoryRepresentationWaypoints class

Describe a trajectory using an array of up-to 5 waypoints in the local frame (MAV_FRAME_LOCAL_NED).

TRAJECTORY_REPRESENTATION_WAYPOINTS

Implemented types

Constructors

TrajectoryRepresentationWaypoints({required uint64_t timeUsec, required List<float> posX, required List<float> posY, required List<float> posZ, required List<float> velX, required List<float> velY, required List<float> velZ, required List<float> accX, required List<float> accY, required List<float> accZ, required List<float> posYaw, required List<float> velYaw, required List<MavCmd> command, required uint8_t validPoints})
TrajectoryRepresentationWaypoints.parse(ByteData data_)
factory

Properties

accX List<float>
X-acceleration of waypoint, set to NaN if not being used
final
accY List<float>
Y-acceleration of waypoint, set to NaN if not being used
final
accZ List<float>
Z-acceleration of waypoint, set to NaN if not being used
final
command List<MavCmd>
MAV_CMD command id of waypoint, set to UINT16_MAX if not being used.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
posX List<float>
X-coordinate of waypoint, set to NaN if not being used
final
posY List<float>
Y-coordinate of waypoint, set to NaN if not being used
final
posYaw List<float>
Yaw angle, set to NaN if not being used
final
posZ List<float>
Z-coordinate of waypoint, set to NaN if not being used
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeUsec uint64_t
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
final
validPoints uint8_t
Number of valid points (up-to 5 waypoints are possible)
final
velX List<float>
X-velocity of waypoint, set to NaN if not being used
final
velY List<float>
Y-velocity of waypoint, set to NaN if not being used
final
velYaw List<float>
Yaw rate, set to NaN if not being used
final
velZ List<float>
Z-velocity of waypoint, set to NaN if not being used
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