mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
differential_pressure/ets: set invalid temperature to NAN
This commit is contained in:
parent
2af6333351
commit
b79eec5e84
@ -146,7 +146,7 @@ ETSAirspeed::collect()
|
||||
// XXX we may want to smooth out the readings to remove noise.
|
||||
report.differential_pressure_filtered_pa = diff_pres_pa_raw;
|
||||
report.differential_pressure_raw_pa = diff_pres_pa_raw;
|
||||
report.temperature = -1000.0f;
|
||||
report.temperature = NAN;
|
||||
report.device_id = _device_id.devid;
|
||||
|
||||
_airspeed_pub.publish(report);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user