EscInfo class

ESC information for lower rate streaming. Recommended streaming rate 1Hz. See ESC_STATUS for higher-rate ESC data.

ESC_INFO

Implemented types

Constructors

EscInfo({required uint64_t timeUsec, required List<int32_t> errorCount, required uint16_t counter, required List<EscFailureFlags> failureFlags, required List<int16_t> temperature, required uint8_t index, required uint8_t count, required EscConnectionType connectionType, required uint8_t info})
EscInfo.parse(ByteData data_)
factory

Properties

connectionType EscConnectionType
Connection type protocol for all ESC.
final
count uint8_t
Total number of ESCs in all messages of this type. Message fields with an index higher than this should be ignored because they contain invalid data.
final
counter uint16_t
Counter of data packets received.
final
errorCount List<int32_t>
Number of reported errors by each ESC since boot.
final
failureFlags List<EscFailureFlags>
Bitmap of ESC failure flags.
final
hashCode int
The hash code for this object.
no setterinherited
index uint8_t
Index of the first ESC in this message. minValue = 0, maxValue = 60, increment = 4.
final
info uint8_t
Information regarding online/offline status of each ESC.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature List<int16_t>
Temperature of each ESC. INT16_MAX: if data not supplied by ESC.
final
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 the number.
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