mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-12 09:51:19 +08:00
8170e113fd
The BMP581 pressure measurement is integrated over a configurable window (~23ms at 32x pressure / 2x temperature oversampling). The read time corresponds to the end of the integration window, introducing a systematic timing bias. Correct timestamp_sample to the midpoint by subtracting measurement_time / 2.