mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
43 lines
1.5 KiB
Markdown
43 lines
1.5 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# Gripper (повідомлення UORB)
|
|
|
|
# Used to command an actuation in the gripper, which is mapped to a specific output in the control allocation module.
|
|
|
|
**TOPICS:** gripper
|
|
|
|
## Fields
|
|
|
|
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
|
| --------- | -------- | ---------------------------------------------------------------- | ---------- | ------------------------------- |
|
|
| timestamp | `uint64` | | | |
|
|
| command | `int8` | | | Commanded state for the gripper |
|
|
|
|
## Constants
|
|
|
|
| Назва | Тип | Значення | Опис |
|
|
| ------------------------------------------------------------------ | ------ | -------- | ---- |
|
|
| <a id="#COMMAND_GRAB"></a> COMMAND_GRAB | `int8` | 0 | |
|
|
| <a id="#COMMAND_RELEASE"></a> COMMAND_RELEASE | `int8` | 1 | |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/Gripper.msg)
|
|
|
|
:::details
|
|
Click here to see original file
|
|
|
|
```c
|
|
## Used to command an actuation in the gripper, which is mapped to a specific output in the control allocation module
|
|
|
|
uint64 timestamp
|
|
|
|
int8 command # Commanded state for the gripper
|
|
int8 COMMAND_GRAB = 0
|
|
int8 COMMAND_RELEASE = 1
|
|
```
|
|
|
|
:::
|