mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Modules Reference: Optical Flow (Driver)
|
|
|
|
:::info
|
|
**This page is [auto-generated](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/px4moduledoc/markdownout.py) from the source code** using the build command: `make module_documentation`.
|
|
Do not edit it directly; fix the module documentation in the [PX4-Autopilot](https://github.com/PX4/PX4-Autopilot) source instead.
|
|
:::
|
|
|
|
## thoneflow
|
|
|
|
Source: [drivers/optical_flow/thoneflow](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/optical_flow/thoneflow)
|
|
|
|
### 설명
|
|
|
|
Serial bus driver for the ThoneFlow-3901U optical flow sensor.
|
|
|
|
Most boards are configured to enable/start the driver on a specified UART using the SENS_TFLOW_CFG parameter.
|
|
|
|
Setup/usage information: https://docs.px4.io/main/en/sensor/pmw3901.html#thone-thoneflow-3901u
|
|
|
|
### 예
|
|
|
|
Attempt to start driver on a specified serial device.
|
|
|
|
```
|
|
thoneflow start -d /dev/ttyS1
|
|
```
|
|
|
|
Stop driver
|
|
|
|
```
|
|
thoneflow stop
|
|
```
|
|
|
|
### Usage {#thoneflow_usage}
|
|
|
|
```
|
|
thoneflow <command> [arguments...]
|
|
Commands:
|
|
start Start driver
|
|
-d <val> Serial device
|
|
|
|
stop Stop driver
|
|
|
|
info Print driver information
|
|
```
|