Copter: removed use of "blended" earth frame accel

This commit is contained in:
Andrew Tridgell 2022-07-27 10:21:30 +10:00
parent 9a453bfc82
commit d18cf7fa75

View File

@ -14,7 +14,7 @@ static uint32_t land_detector_count = 0;
void Copter::update_land_and_crash_detectors()
{
// update 1hz filtered acceleration
Vector3f accel_ef = ahrs.get_accel_ef_blended();
Vector3f accel_ef = ahrs.get_accel_ef();
accel_ef.z += GRAVITY_MSS;
land_accel_ef_filter.apply(accel_ef, scheduler.get_loop_period_s());