mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:33:34 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,32 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# Gripper (UORB message)
|
||||
|
||||
# Used to command an actuation in the gripper, which is mapped to a specific output in the control allocation module
|
||||
# Used to command an actuation in the gripper, which is mapped to a specific output in the control allocation module.
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/Gripper.msg)
|
||||
**TOPICS:** gripper
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| --------- | -------- | ------------ | ---------- | ------------------------------- |
|
||||
| timestamp | `uint64` | | |
|
||||
| command | `int8` | | | Commanded state for the gripper |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ----------------------------------------------- | ------ | ----- | ----------- |
|
||||
| <a href="#COMMAND_GRAB"></a> COMMAND_GRAB | `int8` | 0 |
|
||||
| <a href="#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
|
||||
@@ -12,5 +36,6 @@ uint64 timestamp
|
||||
int8 command # Commanded state for the gripper
|
||||
int8 COMMAND_GRAB = 0
|
||||
int8 COMMAND_RELEASE = 1
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user