Files
PX4-Autopilot/docs/zh/msg_docs/UnregisterExtComponent.md
2026-05-28 07:44:55 +10:00

45 lines
2.5 KiB
Markdown

---
pageClass: is-wide-page
---
# UnregisterExtComponent (UORB message)
**TOPICS:** unregister_ext_component
## Fields
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
| ------------------------------------------------------------------------------------------- | ---------- | ---------------------------------------------------------------- | ---------- | ---------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_name"></a>name | `char[25]` | | | either the mode name, or component name |
| <a id="fld_arming_check_id"></a>arming_check_id | `int8` | | | arming check registration ID (-1 if not registered) |
| <a id="fld_mode_id"></a>mode_id | `int8` | | | assigned mode ID (-1 if not registered) |
| <a id="fld_mode_executor_id"></a>mode_executor_id | `int8` | | | assigned mode executor ID (-1 if not registered) |
## Constants
| 参数名 | 类型 | 值 | 描述 |
| ------------------------------------------------------------------ | -------- | - | -- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 0 | |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/versioned/UnregisterExtComponent.msg)
:::details
Click here to see original file
```c
uint32 MESSAGE_VERSION = 0
uint64 timestamp # time since system start (microseconds)
char[25] name # either the mode name, or component name
int8 arming_check_id # arming check registration ID (-1 if not registered)
int8 mode_id # assigned mode ID (-1 if not registered)
int8 mode_executor_id # assigned mode executor ID (-1 if not registered)
```
:::