Browse Source

Copter: removed use of "blended" earth frame accel

master
Andrew Tridgell 3 years ago
parent
commit
d18cf7fa75
  1. 2
      ArduCopter/land_detector.cpp

2
ArduCopter/land_detector.cpp

@ -14,7 +14,7 @@ static uint32_t land_detector_count = 0; @@ -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…
Cancel
Save