Attitude class

An object containing the attitude, yaw, pitch, roll of the device. Yaw, pitch and roll are in radians.

Constructors

Attitude(Quaternion quaternion, num pitch, num roll, num yaw)
Constructor of the attitude class.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pitch num
Pitch is the rotation of an object around its lateral (x) axis.
final
props List<Object?>
Used for comparison of attitude objects.
no setter
quaternion Quaternion
final
roll num
Roll is the rotation of an object around its longitudinal (z) axis.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
yaw num
Yaw is the rotation of an object around its vertical (y) axis.
final

Methods

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

Operators

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