mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 00:30:36 +08:00
msg: AirspeedValidated - uorb topic to standard (#25579)
* AirspeedValidated - uorb topic to standard * Apply suggestions from code review * Update msg/versioned/AirspeedValidated.msg * Fix up links to renamed uORB constants --------- Co-authored-by: PX4BuildBot <bot@pixhawk.org>
This commit is contained in:
@@ -607,7 +607,7 @@ void FwLateralLongitudinalControl::updateAirspeed() {
|
||||
// do not use synthetic airspeed as this would create a thrust loop
|
||||
if (PX4_ISFINITE(airspeed_validated.calibrated_airspeed_m_s)
|
||||
&& PX4_ISFINITE(airspeed_validated.true_airspeed_m_s)
|
||||
&& airspeed_validated.airspeed_source != airspeed_validated_s::SYNTHETIC) {
|
||||
&& airspeed_validated.airspeed_source != airspeed_validated_s::SOURCE_SYNTHETIC) {
|
||||
|
||||
_time_airspeed_last_valid = airspeed_validated.timestamp;
|
||||
_long_control_state.airspeed_eas = airspeed_validated.calibrated_airspeed_m_s;
|
||||
|
||||
Reference in New Issue
Block a user