RcChannels class

The PPM values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification.

RC_CHANNELS

Implemented types

Constructors

RcChannels({required uint32_t timeBootMs, required uint16_t chan1Raw, required uint16_t chan2Raw, required uint16_t chan3Raw, required uint16_t chan4Raw, required uint16_t chan5Raw, required uint16_t chan6Raw, required uint16_t chan7Raw, required uint16_t chan8Raw, required uint16_t chan9Raw, required uint16_t chan10Raw, required uint16_t chan11Raw, required uint16_t chan12Raw, required uint16_t chan13Raw, required uint16_t chan14Raw, required uint16_t chan15Raw, required uint16_t chan16Raw, required uint16_t chan17Raw, required uint16_t chan18Raw, required uint8_t chancount, required uint8_t rssi})
RcChannels.parse(ByteData data_)
factory

Properties

chan1Raw uint16_t
RC channel 1 value.
final
chan2Raw uint16_t
RC channel 2 value.
final
chan3Raw uint16_t
RC channel 3 value.
final
chan4Raw uint16_t
RC channel 4 value.
final
chan5Raw uint16_t
RC channel 5 value.
final
chan6Raw uint16_t
RC channel 6 value.
final
chan7Raw uint16_t
RC channel 7 value.
final
chan8Raw uint16_t
RC channel 8 value.
final
chan9Raw uint16_t
RC channel 9 value.
final
chan10Raw uint16_t
RC channel 10 value.
final
chan11Raw uint16_t
RC channel 11 value.
final
chan12Raw uint16_t
RC channel 12 value.
final
chan13Raw uint16_t
RC channel 13 value.
final
chan14Raw uint16_t
RC channel 14 value.
final
chan15Raw uint16_t
RC channel 15 value.
final
chan16Raw uint16_t
RC channel 16 value.
final
chan17Raw uint16_t
RC channel 17 value.
final
chan18Raw uint16_t
RC channel 18 value.
final
chancount uint8_t
Total number of RC channels being received. This can be larger than 18, indicating that more channels are available but not given in this message. This value should be 0 when no RC channels are available.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
rssi uint8_t
Receive signal strength indicator in device-dependent units/scale. Values: 0-254, UINT8_MAX: invalid/unknown.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
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