mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
54 lines
2.1 KiB
Markdown
54 lines
2.1 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# RegisterExtComponentReplyV0 (UORB message)
|
|
|
|
**TOPICS:** register_ext_component_reply_v0
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| -------------------- | ---------- | ------------ | ---------- | -------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| request_id | `uint64` | | | ID from the request |
|
|
| name | `char[25]` | | | name from the request |
|
|
| px4_ros2_api_version | `uint16` | | |
|
|
| success | `bool` | | |
|
|
| arming_check_id | `int8` | | | arming check registration ID (-1 if invalid) |
|
|
| mode_id | `int8` | | | assigned mode ID (-1 if invalid) |
|
|
| mode_executor_id | `int8` | | | assigned mode executor ID (-1 if invalid) |
|
|
|
|
## Constants
|
|
|
|
| Name | Type | Value | Description |
|
|
| ----------------------------------------------- | -------- | ----- | ----------- |
|
|
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 0 |
|
|
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 2 |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/RegisterExtComponentReplyV0.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
uint32 MESSAGE_VERSION = 0
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 request_id # ID from the request
|
|
char[25] name # name from the request
|
|
|
|
uint16 px4_ros2_api_version
|
|
|
|
bool success
|
|
int8 arming_check_id # arming check registration ID (-1 if invalid)
|
|
int8 mode_id # assigned mode ID (-1 if invalid)
|
|
int8 mode_executor_id # assigned mode executor ID (-1 if invalid)
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 2
|
|
```
|
|
|
|
:::
|