WinchStatus class

Winch status.

WINCH_STATUS

Implemented types

Constructors

WinchStatus({required uint64_t timeUsec, required float lineLength, required float speed, required float tension, required float voltage, required float current, required MavWinchStatusFlag status, required int16_t temperature})
WinchStatus.parse(ByteData data_)
factory

Properties

current float
Current draw from the winch. NaN if unknown
final
hashCode int
The hash code for this object.
no setterinherited
lineLength float
Length of line released. NaN if unknown
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed float
Speed line is being released or retracted. Positive values if being released, negative values if being retracted, NaN if unknown
final
status MavWinchStatusFlag
Status flags
final
temperature int16_t
Temperature of the motor. INT16_MAX if unknown
final
tension float
Tension on the line. NaN if unknown
final
timeUsec uint64_t
Timestamp (synced to UNIX time or since system boot).
final
voltage float
Voltage of the battery supplying the winch. NaN if unknown
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