mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 00:31:36 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,30 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# DistanceSensorModeChangeRequest (UORB message)
|
||||
|
||||
**TOPICS:** distance_sensormode_changerequest
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/DistanceSensorModeChangeRequest.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| -------------- | -------- | ------------ | ---------- | --------------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| request_on_off | `uint8` | | | request to disable/enable the distance sensor |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| --------------------------------------- | ------- | ----- | ----------- |
|
||||
| <a href="#REQUEST_OFF"></a> REQUEST_OFF | `uint8` | 0 |
|
||||
| <a href="#REQUEST_ON"></a> REQUEST_ON | `uint8` | 1 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/DistanceSensorModeChangeRequest.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -10,5 +32,6 @@ uint64 timestamp # time since system start (microseconds)
|
||||
uint8 request_on_off # request to disable/enable the distance sensor
|
||||
uint8 REQUEST_OFF = 0
|
||||
uint8 REQUEST_ON = 1
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user