Tunnel class
Message for transporting "arbitrary" variable-length data from one component to another (broadcast is not forbidden, but discouraged). The encoding of the data is usually extension specific, i.e. determined by the source, and is usually not documented as part of the MAVLink specification.
TUNNEL
- Implemented types
Constructors
-
Tunnel({required MavTunnelPayloadType payloadType, required uint8_t targetSystem, required uint8_t targetComponent, required uint8_t payloadLength, required List<
int8_t> payload}) - Tunnel.parse(ByteData data_)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
-
payload
→ List<
int8_t> -
Variable length payload. The payload length is defined by payload_length. The entire content of this block is opaque unless you understand the encoding specified by payload_type.
final
- payloadLength → uint8_t
-
Length of the data transported in payload
final
- payloadType → MavTunnelPayloadType
-
A code that identifies the content of the payload (0 for unknown, which is the default). If this code is less than 32768, it is a 'registered' payload type and the corresponding code should be added to the MAV_TUNNEL_PAYLOAD_TYPE enum. Software creators can register blocks of types as needed. Codes greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetComponent → uint8_t
-
Component ID (can be 0 for broadcast, but this is discouraged)
final
- targetSystem → uint8_t
-
System ID (can be 0 for broadcast, but this is discouraged)
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