RcChannelsScaled class
The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to INT16_MAX.
RC_CHANNELS_SCALED
- Implemented types
Constructors
- RcChannelsScaled({required uint32_t timeBootMs, required int16_t chan1Scaled, required int16_t chan2Scaled, required int16_t chan3Scaled, required int16_t chan4Scaled, required int16_t chan5Scaled, required int16_t chan6Scaled, required int16_t chan7Scaled, required int16_t chan8Scaled, required uint8_t port, required uint8_t rssi})
- RcChannelsScaled.parse(ByteData data_)
-
factory
Properties
- chan1Scaled → int16_t
-
RC channel 1 value scaled.
final
- chan2Scaled → int16_t
-
RC channel 2 value scaled.
final
- chan3Scaled → int16_t
-
RC channel 3 value scaled.
final
- chan4Scaled → int16_t
-
RC channel 4 value scaled.
final
- chan5Scaled → int16_t
-
RC channel 5 value scaled.
final
- chan6Scaled → int16_t
-
RC channel 6 value scaled.
final
- chan7Scaled → int16_t
-
RC channel 7 value scaled.
final
- chan8Scaled → int16_t
-
RC channel 8 value scaled.
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