RcChannelsRaw class
The RAW 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_RAW
- Implemented types
Constructors
- RcChannelsRaw({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 uint8_t port, required uint8_t rssi})
- RcChannelsRaw.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
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- port → uint8_t
-
Servo output port (set of 8 outputs = 1 port). Flight stacks running on Pixhawk should use: 0 = MAIN, 1 = AUX.
final
- 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