Browse Source

DCM: fixed airspeed bug

we incorrectly went via the wind estimate when we had a working airspeed sensor
master
jschall 12 years ago committed by Andrew Tridgell
parent
commit
610069e729
  1. 2
      libraries/AP_AHRS/AP_AHRS_DCM.cpp

2
libraries/AP_AHRS/AP_AHRS_DCM.cpp

@ -741,7 +741,7 @@ bool AP_AHRS_DCM::airspeed_estimate(float *airspeed_ret) @@ -741,7 +741,7 @@ bool AP_AHRS_DCM::airspeed_estimate(float *airspeed_ret)
bool ret = false;
if (_airspeed && _airspeed->use()) {
*airspeed_ret = _airspeed->get_airspeed();
ret = true;
return true;
}
// estimate it via GPS speed and wind

Loading…
Cancel
Save