mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
34 lines
1.5 KiB
Markdown
34 lines
1.5 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# SensorAirflow (UORB message)
|
|
|
|
**TOPICS:** sensor_airflow
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| --------- | --------- | ------------ | ---------- | ------------------------------------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| device_id | `uint32` | | | unique device ID for the sensor that does not change between power cycles |
|
|
| speed | `float32` | | | the speed being reported by the wind / airflow sensor |
|
|
| direction | `float32` | | | the direction being reported by the wind / airflow sensor |
|
|
| status | `uint8` | | | Status code from the sensor |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorAirflow.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
|
float32 speed # the speed being reported by the wind / airflow sensor
|
|
float32 direction # the direction being reported by the wind / airflow sensor
|
|
uint8 status # Status code from the sensor
|
|
```
|
|
|
|
:::
|