ParamMapRc class

Bind a RC channel to a parameter. The parameter should change according to the RC channel value.

PARAM_MAP_RC

Implemented types

Constructors

ParamMapRc({required float paramValue0, required float scale, required float paramValueMin, required float paramValueMax, required int16_t paramIndex, required uint8_t targetSystem, required uint8_t targetComponent, required List<int8_t> paramId, required uint8_t parameterRcChannelIndex})
ParamMapRc.parse(ByteData data_)
factory

Properties

hashCode → ActuatorConfiguration
The hash code for this object.
no setterinherited
mavlinkCrcExtra → ActuatorConfiguration
no setteroverride
mavlinkMessageId → ActuatorConfiguration
no setteroverride
parameterRcChannelIndex → ActuatorConfiguration
Index of parameter RC channel. Not equal to the RC channel id. Typically corresponds to a potentiometer-knob on the RC.
final
paramId → List<int8_t>
Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string
final
paramIndex → ActuatorConfiguration
Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index.
final
paramValue0 → float
Initial parameter value
final
paramValueMax → float
Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation)
final
paramValueMin → float
Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → float
Scale, maps the RC range -1, 1 to a parameter value
final
targetComponent → ActuatorConfiguration
Component ID
final
targetSystem → ActuatorConfiguration
System ID
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