mirror of https://github.com/ArduPilot/ardupilot
AP_Soaring: change TRIM_ARSPD_CM to AIRSPEED_CRUISE
This commit is contained in:
parent
ed13b97526
commit
ed9180154a
|
@ -21,7 +21,7 @@ void Variometer::update(const float thermal_bank)
|
|||
|
||||
float aspd = 0;
|
||||
if (!_ahrs.airspeed_estimate(aspd)) {
|
||||
aspd = _aparm.airspeed_cruise_cm * 0.01f;
|
||||
aspd = _aparm.airspeed_cruise;
|
||||
}
|
||||
|
||||
float aspd_filt = _sp_filter.apply(aspd);
|
||||
|
|
Loading…
Reference in New Issue