Copter: removed use of "blended" earth frame accel
This commit is contained in:
parent
9a453bfc82
commit
d18cf7fa75
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user