SimState class

Status of simulation environment, if used

SIM_STATE

Implemented types

Constructors

SimState({required float q1, required float q2, required float q3, required float q4, required float roll, required float pitch, required float yaw, required float xacc, required float yacc, required float zacc, required float xgyro, required float ygyro, required float zgyro, required float lat, required float lon, required float alt, required float stdDevHorz, required float stdDevVert, required float vn, required float ve, required float vd, required int32_t latInt, required int32_t lonInt})
SimState.parse(ByteData data_)
factory

Properties

alt float
Altitude
final
hashCode int
The hash code for this object.
no setterinherited
lat float
Latitude (lower precision). Both this and the lat_int field should be set.
final
latInt int32_t
Latitude (higher precision). If 0, recipients should use the lat field value (otherwise this field is preferred).
final
lon float
Longitude (lower precision). Both this and the lon_int field should be set.
final
lonInt int32_t
Longitude (higher precision). If 0, recipients should use the lon field value (otherwise this field is preferred).
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
pitch float
Attitude pitch expressed as Euler angles, not recommended except for human-readable outputs
final
q1 float
True attitude quaternion component 1, w (1 in null-rotation)
final
q2 float
True attitude quaternion component 2, x (0 in null-rotation)
final
q3 float
True attitude quaternion component 3, y (0 in null-rotation)
final
q4 float
True attitude quaternion component 4, z (0 in null-rotation)
final
roll float
Attitude roll expressed as Euler angles, not recommended except for human-readable outputs
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stdDevHorz float
Horizontal position standard deviation
final
stdDevVert float
Vertical position standard deviation
final
vd float
True velocity in down direction in earth-fixed NED frame
final
ve float
True velocity in east direction in earth-fixed NED frame
final
vn float
True velocity in north direction in earth-fixed NED frame
final
xacc float
X acceleration
final
xgyro float
Angular speed around X axis
final
yacc float
Y acceleration
final
yaw float
Attitude yaw expressed as Euler angles, not recommended except for human-readable outputs
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