mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
41 lines
1020 B
Markdown
41 lines
1020 B
Markdown
# Modules Reference: Optical Flow (Driver)
|
|
|
|
## thoneflow
|
|
|
|
Source: [drivers/optical_flow/thoneflow](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/optical_flow/thoneflow)
|
|
|
|
### Опис
|
|
|
|
Драйвер послідовної шини для optical flow сенсору ThoneFlow-3901U.
|
|
|
|
Більшість плат налаштовано на ввімкнення/вимкнення драйвера на вказаному UART за допомогою параметра SENS_TFLOW_CFG.
|
|
|
|
Інформація про налаштування/використання: 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
|
|
```
|