Type Alias mavio::dialects::asluav::messages::tunnel::Tunnel

source ·
pub type Tunnel = Tunnel;
Expand description

Originally defined in common::messages::tunnel.

Aliased Type§

struct Tunnel {
    pub target_system: u8,
    pub target_component: u8,
    pub payload_type: MavTunnelPayloadType,
    pub payload_length: u8,
    pub payload: [u8; 128],
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID (can be 0 for broadcast, but this is discouraged)

§target_component: u8

MAVLink field target_component.

Component ID (can be 0 for broadcast, but this is discouraged)

§payload_type: MavTunnelPayloadType

MAVLink field payload_type.

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.

§payload_length: u8

MAVLink field payload_length.

Length of the data transported in payload

§payload: [u8; 128]

MAVLink field payload.

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.