Enum mavlink::uavionix::MavComponent

source ·
#[repr(u32)]
pub enum MavComponent {
Show 135 variants MAV_COMP_ID_ALL = 0, MAV_COMP_ID_AUTOPILOT1 = 1, MAV_COMP_ID_USER1 = 25, MAV_COMP_ID_USER2 = 26, MAV_COMP_ID_USER3 = 27, MAV_COMP_ID_USER4 = 28, MAV_COMP_ID_USER5 = 29, MAV_COMP_ID_USER6 = 30, MAV_COMP_ID_USER7 = 31, MAV_COMP_ID_USER8 = 32, MAV_COMP_ID_USER9 = 33, MAV_COMP_ID_USER10 = 34, MAV_COMP_ID_USER11 = 35, MAV_COMP_ID_USER12 = 36, MAV_COMP_ID_USER13 = 37, MAV_COMP_ID_USER14 = 38, MAV_COMP_ID_USER15 = 39, MAV_COMP_ID_USER16 = 40, MAV_COMP_ID_USER17 = 41, MAV_COMP_ID_USER18 = 42, MAV_COMP_ID_USER19 = 43, MAV_COMP_ID_USER20 = 44, MAV_COMP_ID_USER21 = 45, MAV_COMP_ID_USER22 = 46, MAV_COMP_ID_USER23 = 47, MAV_COMP_ID_USER24 = 48, MAV_COMP_ID_USER25 = 49, MAV_COMP_ID_USER26 = 50, MAV_COMP_ID_USER27 = 51, MAV_COMP_ID_USER28 = 52, MAV_COMP_ID_USER29 = 53, MAV_COMP_ID_USER30 = 54, MAV_COMP_ID_USER31 = 55, MAV_COMP_ID_USER32 = 56, MAV_COMP_ID_USER33 = 57, MAV_COMP_ID_USER34 = 58, MAV_COMP_ID_USER35 = 59, MAV_COMP_ID_USER36 = 60, MAV_COMP_ID_USER37 = 61, MAV_COMP_ID_USER38 = 62, MAV_COMP_ID_USER39 = 63, MAV_COMP_ID_USER40 = 64, MAV_COMP_ID_USER41 = 65, MAV_COMP_ID_USER42 = 66, MAV_COMP_ID_USER43 = 67, MAV_COMP_ID_TELEMETRY_RADIO = 68, MAV_COMP_ID_USER45 = 69, MAV_COMP_ID_USER46 = 70, MAV_COMP_ID_USER47 = 71, MAV_COMP_ID_USER48 = 72, MAV_COMP_ID_USER49 = 73, MAV_COMP_ID_USER50 = 74, MAV_COMP_ID_USER51 = 75, MAV_COMP_ID_USER52 = 76, MAV_COMP_ID_USER53 = 77, MAV_COMP_ID_USER54 = 78, MAV_COMP_ID_USER55 = 79, MAV_COMP_ID_USER56 = 80, MAV_COMP_ID_USER57 = 81, MAV_COMP_ID_USER58 = 82, MAV_COMP_ID_USER59 = 83, MAV_COMP_ID_USER60 = 84, MAV_COMP_ID_USER61 = 85, MAV_COMP_ID_USER62 = 86, MAV_COMP_ID_USER63 = 87, MAV_COMP_ID_USER64 = 88, MAV_COMP_ID_USER65 = 89, MAV_COMP_ID_USER66 = 90, MAV_COMP_ID_USER67 = 91, MAV_COMP_ID_USER68 = 92, MAV_COMP_ID_USER69 = 93, MAV_COMP_ID_USER70 = 94, MAV_COMP_ID_USER71 = 95, MAV_COMP_ID_USER72 = 96, MAV_COMP_ID_USER73 = 97, MAV_COMP_ID_USER74 = 98, MAV_COMP_ID_USER75 = 99, MAV_COMP_ID_CAMERA = 100, MAV_COMP_ID_CAMERA2 = 101, MAV_COMP_ID_CAMERA3 = 102, MAV_COMP_ID_CAMERA4 = 103, MAV_COMP_ID_CAMERA5 = 104, MAV_COMP_ID_CAMERA6 = 105, MAV_COMP_ID_SERVO1 = 140, MAV_COMP_ID_SERVO2 = 141, MAV_COMP_ID_SERVO3 = 142, MAV_COMP_ID_SERVO4 = 143, MAV_COMP_ID_SERVO5 = 144, MAV_COMP_ID_SERVO6 = 145, MAV_COMP_ID_SERVO7 = 146, MAV_COMP_ID_SERVO8 = 147, MAV_COMP_ID_SERVO9 = 148, MAV_COMP_ID_SERVO10 = 149, MAV_COMP_ID_SERVO11 = 150, MAV_COMP_ID_SERVO12 = 151, MAV_COMP_ID_SERVO13 = 152, MAV_COMP_ID_SERVO14 = 153, MAV_COMP_ID_GIMBAL = 154, MAV_COMP_ID_LOG = 155, MAV_COMP_ID_ADSB = 156, MAV_COMP_ID_OSD = 157, MAV_COMP_ID_PERIPHERAL = 158, MAV_COMP_ID_QX1_GIMBAL = 159, MAV_COMP_ID_FLARM = 160, MAV_COMP_ID_PARACHUTE = 161, MAV_COMP_ID_WINCH = 169, MAV_COMP_ID_GIMBAL2 = 171, MAV_COMP_ID_GIMBAL3 = 172, MAV_COMP_ID_GIMBAL4 = 173, MAV_COMP_ID_GIMBAL5 = 174, MAV_COMP_ID_GIMBAL6 = 175, MAV_COMP_ID_BATTERY = 180, MAV_COMP_ID_BATTERY2 = 181, MAV_COMP_ID_MAVCAN = 189, MAV_COMP_ID_MISSIONPLANNER = 190, MAV_COMP_ID_ONBOARD_COMPUTER = 191, MAV_COMP_ID_ONBOARD_COMPUTER2 = 192, MAV_COMP_ID_ONBOARD_COMPUTER3 = 193, MAV_COMP_ID_ONBOARD_COMPUTER4 = 194, MAV_COMP_ID_PATHPLANNER = 195, MAV_COMP_ID_OBSTACLE_AVOIDANCE = 196, MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY = 197, MAV_COMP_ID_PAIRING_MANAGER = 198, MAV_COMP_ID_IMU = 200, MAV_COMP_ID_IMU_2 = 201, MAV_COMP_ID_IMU_3 = 202, MAV_COMP_ID_GPS = 220, MAV_COMP_ID_GPS2 = 221, MAV_COMP_ID_ODID_TXRX_1 = 236, MAV_COMP_ID_ODID_TXRX_2 = 237, MAV_COMP_ID_ODID_TXRX_3 = 238, MAV_COMP_ID_UDP_BRIDGE = 240, MAV_COMP_ID_UART_BRIDGE = 241, MAV_COMP_ID_TUNNEL_NODE = 242, MAV_COMP_ID_SYSTEM_CONTROL = 250,
}
Available on crate feature uavionix only.
Expand description

Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.). Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components. When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.

Variants§

§

MAV_COMP_ID_ALL = 0

Target id (target_component) used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces. Note: This is not a valid source component id for a message.

§

MAV_COMP_ID_AUTOPILOT1 = 1

System flight controller component (“autopilot”). Only one autopilot is expected in a particular system.

§

MAV_COMP_ID_USER1 = 25

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER2 = 26

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER3 = 27

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER4 = 28

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER5 = 29

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER6 = 30

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER7 = 31

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER8 = 32

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER9 = 33

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER10 = 34

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER11 = 35

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER12 = 36

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER13 = 37

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER14 = 38

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER15 = 39

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER16 = 40

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER17 = 41

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER18 = 42

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER19 = 43

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER20 = 44

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER21 = 45

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER22 = 46

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER23 = 47

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER24 = 48

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER25 = 49

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER26 = 50

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER27 = 51

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER28 = 52

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER29 = 53

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER30 = 54

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER31 = 55

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER32 = 56

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER33 = 57

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER34 = 58

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER35 = 59

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER36 = 60

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER37 = 61

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER38 = 62

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER39 = 63

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER40 = 64

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER41 = 65

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER42 = 66

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER43 = 67

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_TELEMETRY_RADIO = 68

Telemetry radio (e.g. SiK radio, or other component that emits RADIO_STATUS messages).

§

MAV_COMP_ID_USER45 = 69

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER46 = 70

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER47 = 71

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER48 = 72

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER49 = 73

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER50 = 74

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER51 = 75

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER52 = 76

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER53 = 77

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER54 = 78

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER55 = 79

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER56 = 80

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER57 = 81

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER58 = 82

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER59 = 83

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER60 = 84

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER61 = 85

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER62 = 86

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER63 = 87

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER64 = 88

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER65 = 89

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER66 = 90

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER67 = 91

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER68 = 92

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER69 = 93

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER70 = 94

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER71 = 95

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER72 = 96

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER73 = 97

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER74 = 98

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_USER75 = 99

Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.

§

MAV_COMP_ID_CAMERA = 100

Camera #1.

§

MAV_COMP_ID_CAMERA2 = 101

Camera #2.

§

MAV_COMP_ID_CAMERA3 = 102

Camera #3.

§

MAV_COMP_ID_CAMERA4 = 103

Camera #4.

§

MAV_COMP_ID_CAMERA5 = 104

Camera #5.

§

MAV_COMP_ID_CAMERA6 = 105

Camera #6.

§

MAV_COMP_ID_SERVO1 = 140

Servo #1.

§

MAV_COMP_ID_SERVO2 = 141

Servo #2.

§

MAV_COMP_ID_SERVO3 = 142

Servo #3.

§

MAV_COMP_ID_SERVO4 = 143

Servo #4.

§

MAV_COMP_ID_SERVO5 = 144

Servo #5.

§

MAV_COMP_ID_SERVO6 = 145

Servo #6.

§

MAV_COMP_ID_SERVO7 = 146

Servo #7.

§

MAV_COMP_ID_SERVO8 = 147

Servo #8.

§

MAV_COMP_ID_SERVO9 = 148

Servo #9.

§

MAV_COMP_ID_SERVO10 = 149

Servo #10.

§

MAV_COMP_ID_SERVO11 = 150

Servo #11.

§

MAV_COMP_ID_SERVO12 = 151

Servo #12.

§

MAV_COMP_ID_SERVO13 = 152

Servo #13.

§

MAV_COMP_ID_SERVO14 = 153

Servo #14.

§

MAV_COMP_ID_GIMBAL = 154

Gimbal #1.

§

MAV_COMP_ID_LOG = 155

Logging component.

§

MAV_COMP_ID_ADSB = 156

Automatic Dependent Surveillance-Broadcast (ADS-B) component.

§

MAV_COMP_ID_OSD = 157

On Screen Display (OSD) devices for video links.

§

MAV_COMP_ID_PERIPHERAL = 158

Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.

§

MAV_COMP_ID_QX1_GIMBAL = 159

Gimbal ID for QX1.

§

MAV_COMP_ID_FLARM = 160

FLARM collision alert component.

§

MAV_COMP_ID_PARACHUTE = 161

Parachute component.

§

MAV_COMP_ID_WINCH = 169

Winch component.

§

MAV_COMP_ID_GIMBAL2 = 171

Gimbal #2.

§

MAV_COMP_ID_GIMBAL3 = 172

Gimbal #3.

§

MAV_COMP_ID_GIMBAL4 = 173

Gimbal #4

§

MAV_COMP_ID_GIMBAL5 = 174

Gimbal #5.

§

MAV_COMP_ID_GIMBAL6 = 175

Gimbal #6.

§

MAV_COMP_ID_BATTERY = 180

Battery #1.

§

MAV_COMP_ID_BATTERY2 = 181

Battery #2.

§

MAV_COMP_ID_MAVCAN = 189

CAN over MAVLink client.

§

MAV_COMP_ID_MISSIONPLANNER = 190

Component that can generate/supply a mission flight plan (e.g. GCS or developer API).

§

MAV_COMP_ID_ONBOARD_COMPUTER = 191

Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don’t directly speak mavlink and so on.

§

MAV_COMP_ID_ONBOARD_COMPUTER2 = 192

Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don’t directly speak mavlink and so on.

§

MAV_COMP_ID_ONBOARD_COMPUTER3 = 193

Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don’t directly speak mavlink and so on.

§

MAV_COMP_ID_ONBOARD_COMPUTER4 = 194

Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don’t directly speak mavlink and so on.

§

MAV_COMP_ID_PATHPLANNER = 195

Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).

§

MAV_COMP_ID_OBSTACLE_AVOIDANCE = 196

Component that plans a collision free path between two points.

§

MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY = 197

Component that provides position estimates using VIO techniques.

§

MAV_COMP_ID_PAIRING_MANAGER = 198

Component that manages pairing of vehicle and GCS.

§

MAV_COMP_ID_IMU = 200

Inertial Measurement Unit (IMU) #1.

§

MAV_COMP_ID_IMU_2 = 201

Inertial Measurement Unit (IMU) #2.

§

MAV_COMP_ID_IMU_3 = 202

Inertial Measurement Unit (IMU) #3.

§

MAV_COMP_ID_GPS = 220

GPS #1.

§

MAV_COMP_ID_GPS2 = 221

GPS #2.

§

MAV_COMP_ID_ODID_TXRX_1 = 236

Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).

§

MAV_COMP_ID_ODID_TXRX_2 = 237

Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).

§

MAV_COMP_ID_ODID_TXRX_3 = 238

Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).

§

MAV_COMP_ID_UDP_BRIDGE = 240

Component to bridge MAVLink to UDP (i.e. from a UART).

§

MAV_COMP_ID_UART_BRIDGE = 241

Component to bridge to UART (i.e. from UDP).

§

MAV_COMP_ID_TUNNEL_NODE = 242

Component handling TUNNEL messages (e.g. vendor specific GUI of a component).

§

MAV_COMP_ID_SYSTEM_CONTROL = 250

Deprecated, don’t use. Component for handling system messages (e.g. to ARM, takeoff, etc.).

Implementations§

source§

impl MavComponent

source

pub const DEFAULT: Self = Self::MAV_COMP_ID_ALL

Trait Implementations§

source§

impl Clone for MavComponent

source§

fn clone(&self) -> MavComponent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MavComponent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MavComponent

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MavComponent

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl FromPrimitive for MavComponent

source§

fn from_i64(n: i64) -> Option<Self>

Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u64(n: u64) -> Option<Self>

Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_isize(n: isize) -> Option<Self>

Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i8(n: i8) -> Option<Self>

Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i16(n: i16) -> Option<Self>

Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i32(n: i32) -> Option<Self>

Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_i128(n: i128) -> Option<Self>

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u8(n: u8) -> Option<Self>

Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u16(n: u16) -> Option<Self>

Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u32(n: u32) -> Option<Self>

Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_u128(n: u128) -> Option<Self>

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

impl PartialEq for MavComponent

source§

fn eq(&self, other: &MavComponent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MavComponent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToPrimitive for MavComponent

source§

fn to_i64(&self) -> Option<i64>

Converts the value of self to an i64. If the value cannot be represented by an i64, then None is returned.
source§

fn to_u64(&self) -> Option<u64>

Converts the value of self to a u64. If the value cannot be represented by a u64, then None is returned.
source§

fn to_isize(&self) -> Option<isize>

Converts the value of self to an isize. If the value cannot be represented by an isize, then None is returned.
source§

fn to_i8(&self) -> Option<i8>

Converts the value of self to an i8. If the value cannot be represented by an i8, then None is returned.
source§

fn to_i16(&self) -> Option<i16>

Converts the value of self to an i16. If the value cannot be represented by an i16, then None is returned.
source§

fn to_i32(&self) -> Option<i32>

Converts the value of self to an i32. If the value cannot be represented by an i32, then None is returned.
source§

fn to_i128(&self) -> Option<i128>

Converts the value of self to an i128. If the value cannot be represented by an i128 (i64 under the default implementation), then None is returned. Read more
source§

fn to_usize(&self) -> Option<usize>

Converts the value of self to a usize. If the value cannot be represented by a usize, then None is returned.
source§

fn to_u8(&self) -> Option<u8>

Converts the value of self to a u8. If the value cannot be represented by a u8, then None is returned.
source§

fn to_u16(&self) -> Option<u16>

Converts the value of self to a u16. If the value cannot be represented by a u16, then None is returned.
source§

fn to_u32(&self) -> Option<u32>

Converts the value of self to a u32. If the value cannot be represented by a u32, then None is returned.
source§

fn to_u128(&self) -> Option<u128>

Converts the value of self to a u128. If the value cannot be represented by a u128 (u64 under the default implementation), then None is returned. Read more
source§

fn to_f32(&self) -> Option<f32>

Converts the value of self to an f32. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f32.
source§

fn to_f64(&self) -> Option<f64>

Converts the value of self to an f64. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f64. Read more
source§

impl Copy for MavComponent

source§

impl StructuralPartialEq for MavComponent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,