RadioRcChannels class
Radio channels. Supports up to 24 channels. Channel values are in centerd 13 bit format. Range is -4096,4096
, center is 0. Conversion to PWM is x * 5/32 + 1500. Should be emitted only by components with component id MAV_COMP_ID_TELEMETRY_RADIO.
RADIO_RC_CHANNELS
- Implemented types
Constructors
-
RadioRcChannels({required uint8_t count, required RadioRcChannelsFlags flags, required List<
int16_t> channels}) - RadioRcChannels.parse(ByteData data_)
-
factory
Properties
-
channels
→ List<
int16_t> -
RC channels. Channels above count should be set to 0, to benefit from MAVLink's zero padding.
final
- count → uint8_t
-
Total number of RC channels being received. This can be larger than 24, indicating that more channels are available but not given in this message.
final
- flags → RadioRcChannelsFlags
-
Radio channels status flags.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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