HilStateQuaternion class

Sent from simulation to autopilot, avoids in contrast to HIL_STATE singularities. This packet is useful for high throughput applications such as hardware in the loop simulations.

HIL_STATE_QUATERNION

Implemented types

Constructors

HilStateQuaternion({required uint64_t timeUsec, required List<float> attitudeQuaternion, required float rollspeed, required float pitchspeed, required float yawspeed, required int32_t lat, required int32_t lon, required int32_t alt, required int16_t vx, required int16_t vy, required int16_t vz, required uint16_t indAirspeed, required uint16_t trueAirspeed, required int16_t xacc, required int16_t yacc, required int16_t zacc})
HilStateQuaternion.parse(ByteData data_)
factory

Properties

alt int32_t
Altitude
final
attitudeQuaternion List<float>
Vehicle attitude expressed as normalized quaternion in w, x, y, z order (with 1 0 0 0 being the null-rotation)
final
hashCode int
The hash code for this object.
no setterinherited
indAirspeed uint16_t
Indicated airspeed
final
lat int32_t
Latitude
final
lon int32_t
Longitude
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
pitchspeed float
Body frame pitch / theta angular speed
final
rollspeed float
Body frame roll / phi angular speed
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
trueAirspeed uint16_t
True airspeed
final
vx int16_t
Ground X Speed (Latitude)
final
vy int16_t
Ground Y Speed (Longitude)
final
vz int16_t
Ground Z Speed (Altitude)
final
xacc int16_t
X acceleration
final
yacc int16_t
Y acceleration
final
yawspeed float
Body frame yaw / psi angular speed
final
zacc int16_t
Z acceleration
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