mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 00:48:23 +08:00
feat(heater): heater-modul in cannode does now also publish pitot_temperature via raw-air-data,
pitot_temperature added to uORB-msg differential_pressure
This commit is contained in:
committed by
Alexander Lerach
parent
6849612e97
commit
4065b05930
@@ -425,6 +425,7 @@ void GZBridge::airspeedCallback(const gz::msgs::AirSpeed &msg)
|
||||
report.differential_pressure_pa = msg.diff_pressure(); // hPa to Pa;
|
||||
_temperature = static_cast<float>(msg.temperature()) + atmosphere::kAbsoluteNullCelsius; // K to C
|
||||
report.temperature = _temperature;
|
||||
report.pitot_temperature = NAN;
|
||||
_differential_pressure_pub.publish(report);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user