ControlSystemState class
The smoothed, monotonic system state used to feed the control loops of the system.
CONTROL_SYSTEM_STATE
- Implemented types
Constructors
-
ControlSystemState({required uint64_t timeUsec, required float xAcc, required float yAcc, required float zAcc, required float xVel, required float yVel, required float zVel, required float xPos, required float yPos, required float zPos, required float airspeed, required List<
float> velVariance, required List<float> posVariance, required List<float> q, required float rollRate, required float pitchRate, required float yawRate}) - ControlSystemState.parse(ByteData data_)
-
factory
Properties
- airspeed → float
-
Airspeed, set to -1 if unknown
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- pitchRate → float
-
Angular rate in pitch axis
final
-
posVariance
→ List<
float> -
Variance in local position
final
-
q
→ List<
float> -
The attitude, represented as Quaternion
final
- rollRate → float
-
Angular rate in roll axis
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
-
velVariance
→ List<
float> -
Variance of body velocity estimate
final
- xAcc → float
-
X acceleration in body frame
final
- xPos → float
-
X position in local frame
final
- xVel → float
-
X velocity in body frame
final
- yAcc → float
-
Y acceleration in body frame
final
- yawRate → float
-
Angular rate in yaw axis
final
- yPos → float
-
Y position in local frame
final
- yVel → float
-
Y velocity in body frame
final
- zAcc → float
-
Z acceleration in body frame
final
- zPos → float
-
Z position in local frame
final
- zVel → float
-
Z velocity in body frame
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