AvssDroneImu class

Drone IMU data. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).

AVSS_DRONE_IMU

Implemented types

Constructors

AvssDroneImu({required uint32_t timeBootMs, required float q1, required float q2, required float q3, required float q4, required float xacc, required float yacc, required float zacc, required float xgyro, required float ygyro, required float zgyro})
AvssDroneImu.parse(ByteData data_)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
q1 float
Quaternion component 1, w (1 in null-rotation)
final
q2 float
Quaternion component 2, x (0 in null-rotation)
final
q3 float
Quaternion component 3, y (0 in null-rotation)
final
q4 float
Quaternion component 4, z (0 in null-rotation)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since FC boot).
final
xacc float
X acceleration
final
xgyro float
Angular speed around X axis
final
yacc float
Y acceleration
final
ygyro float
Angular speed around Y axis
final
zacc float
Z acceleration
final
zgyro float
Angular speed around Z axis
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