mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
44 lines
1.8 KiB
Markdown
44 lines
1.8 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# Airspeed (UORB message)
|
|
|
|
Airspeed data from sensors.
|
|
|
|
This is published by airspeed sensor drivers, CAN airspeed sensors, simulators.
|
|
It is subscribed by the airspeed selector module, which validates the data from multiple sensors and passes on a single estimation to the EKF, controllers and telemetry providers.
|
|
|
|
**TOPICS:** airspeed
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| ---------------------- | --------- | ------------ | ---------- | -------------------------------- |
|
|
| timestamp | `uint64` | us | | Time since system start |
|
|
| timestamp_sample | `uint64` | us | | Timestamp of the raw data |
|
|
| indicated_airspeed_m_s | `float32` | m/s | | Indicated airspeed |
|
|
| true_airspeed_m_s | `float32` | m/s | | True airspeed |
|
|
| confidence | `float32` | | [0 : 1] | Confidence value for this sensor |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/Airspeed.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
# Airspeed data from sensors
|
|
#
|
|
# This is published by airspeed sensor drivers, CAN airspeed sensors, simulators.
|
|
# It is subscribed by the airspeed selector module, which validates the data from multiple sensors and passes on a single estimation to the EKF, controllers and telemetry providers.
|
|
|
|
uint64 timestamp # [us] Time since system start
|
|
uint64 timestamp_sample # [us] Timestamp of the raw data
|
|
float32 indicated_airspeed_m_s # [m/s] Indicated airspeed
|
|
float32 true_airspeed_m_s # [m/s] True airspeed
|
|
float32 confidence # [@range 0,1] Confidence value for this sensor
|
|
```
|
|
|
|
:::
|