Update docs metadata (#25828)

This commit is contained in:
Hamish Willee
2025-10-29 12:32:15 +11:00
committed by GitHub
parent 37398248aa
commit 6846af119d
5 changed files with 55 additions and 35 deletions
+13 -8
View File
@@ -1,19 +1,24 @@
# DifferentialPressure (UORB message)
Differential-pressure (airspeed) sensor
This is populated by airspeed sensor drivers and used by the sensor module to calculate airspeed.
The information is published in the `SCALED_PRESSURE_n` MAVLink messages (along with information from a corresponding `SensorBaro` instance).
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/DifferentialPressure.msg)
```c
uint64 timestamp # time since system start (microseconds)
uint64 timestamp_sample
# Differential-pressure (airspeed) sensor
#
# This is populated by airspeed sensor drivers and used by the sensor module to calculate airspeed.
# The information is published in the `SCALED_PRESSURE_n` MAVLink messages (along with information from a corresponding `SensorBaro` instance).
uint32 device_id # unique device ID for the sensor that does not change between power cycles
uint64 timestamp # [us] Time of publication (since system start)
uint64 timestamp_sample # [us] Time of raw data capture
float32 differential_pressure_pa # differential pressure reading in Pascals (may be negative)
float32 temperature # Temperature provided by sensor in degrees Celsius, NAN if unknown
uint32 error_count # Number of errors detected by driver
uint32 device_id # [-] Unique device ID for the sensor that does not change between power cycles
float32 differential_pressure_pa # [Pa] Differential pressure reading (may be negative)
float32 temperature # [degC] [@invalid NaN if unknown] Temperature
uint32 error_count # [-] Number of errors detected by driver
```