Clean up temperature msg fields (#24272)

* remove temp field from airspeed.msg, adjust temp selection

* temp-sensor hirarchy: airspeed, ext. baro, default value

* directly use diff-press or baro temp in true-airspeed  calc

* improve clarity

* add enum for temperature source in VehicleAirData.msg
This commit is contained in:
Marco Hauswirth
2025-02-18 13:23:10 +01:00
committed by GitHub
parent 90b2290700
commit d2cbe10243
13 changed files with 50 additions and 58 deletions
-1
View File
@@ -104,7 +104,6 @@ UavcanAirspeedBridge::ias_sub_cb(const
report.timestamp = hrt_absolute_time();
report.indicated_airspeed_m_s = msg.indicated_airspeed;
report.true_airspeed_m_s = _last_tas_m_s;
report.air_temperature_celsius = _last_outside_air_temp_k + atmosphere::kAbsoluteNullCelsius;
publish(msg.getSrcNodeID().get(), &report);
}