Skip to content

Commit 40b1e41

Browse files
committed
MAVLink messages update Thu May 29 03:44:21 UTC 2025
1 parent 2cd84e4 commit 40b1e41

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

en/messages/common.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6209,10 +6209,18 @@ Value | Name | Description
62096209

62106210
### MAV_COMPONENT — \[from: [minimal](../messages/minimal.md#MAV_COMPONENT)\] {#MAV_COMPONENT}
62116211

6212-
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.).
6212+
Legacy component ID values for particular types of hardware/software that might make up a MAVLink system (autopilot, cameras, servos, avoidance systems etc.).
62136213

6214-
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](#MAV_COMP_ID_ALL) value is used to indicate messages that must be processed by all components.
6215-
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.
6214+
6215+
Components are not required or expected to use IDs with names that correspond to their type or function, but may choose to do so.
6216+
Using an ID that matches the type may slightly reduce the chances of component id clashes, as, for historical reasons, it is less likely to be used by some other type of component.
6217+
System integration will still need to ensure that all components have unique IDs.
6218+
6219+
Component IDs are used for addressing messages to a particular component within a system.
6220+
A component can use any unique ID between 1 and 255 ([MAV_COMP_ID_ALL](#MAV_COMP_ID_ALL) value is the broadcast address, used to send to all components).
6221+
6222+
Historically component ID were also used for identifying the type of component.
6223+
New code must not use component IDs to infer the component type, but instead check the [MAV_TYPE](#MAV_TYPE) in the HEARTBEAT message!
62166224

62176225
Value | Name | Description
62186226
--- | --- | ---

en/messages/minimal.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,18 @@ Value | Name | Description
206206

207207
### MAV_COMPONENT {#MAV_COMPONENT}
208208

209-
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.).
209+
Legacy component ID values for particular types of hardware/software that might make up a MAVLink system (autopilot, cameras, servos, avoidance systems etc.).
210210

211-
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](#MAV_COMP_ID_ALL) value is used to indicate messages that must be processed by all components.
212-
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.
211+
212+
Components are not required or expected to use IDs with names that correspond to their type or function, but may choose to do so.
213+
Using an ID that matches the type may slightly reduce the chances of component id clashes, as, for historical reasons, it is less likely to be used by some other type of component.
214+
System integration will still need to ensure that all components have unique IDs.
215+
216+
Component IDs are used for addressing messages to a particular component within a system.
217+
A component can use any unique ID between 1 and 255 ([MAV_COMP_ID_ALL](#MAV_COMP_ID_ALL) value is the broadcast address, used to send to all components).
218+
219+
Historically component ID were also used for identifying the type of component.
220+
New code must not use component IDs to infer the component type, but instead check the [MAV_TYPE](#MAV_TYPE) in the HEARTBEAT message!
213221

214222
Value | Name | Description
215223
--- | --- | ---

0 commit comments

Comments
 (0)