mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- sensor_baro.msg use SI (pressure in Pascals) - update all barometer drivers to publish directly and remove PX4Barometer helper - introduce baro cal (offset) mainly as a mechanism to adjust relative priority - commander: add simple baro cal that sets baro offsets to align with GPS altitude (if available) - create new sensors_status.msg to generalize sensor reporting
15 lines
647 B
Plaintext
15 lines
647 B
Plaintext
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
|
|
|
|
uint32 baro_device_id # unique device ID for the selected barometer
|
|
|
|
float32 baro_alt_meter # Altitude above MSL calculated from temperature compensated baro sensor data using an ISA corrected for sea level pressure SENS_BARO_QNH.
|
|
float32 baro_temp_celcius # Temperature in degrees Celsius
|
|
float32 baro_pressure_pa # Absolute pressure in Pascals
|
|
|
|
float32 rho # air density
|
|
|
|
uint8 calibration_count # Calibration changed counter. Monotonically increases whenever calibration changes.
|