Browse Source

Plane: removed use of "blended" earth frame accel

master
Andrew Tridgell 3 years ago
parent
commit
22cd568a4c
  1. 2
      ArduPlane/quadplane.cpp

2
ArduPlane/quadplane.cpp

@ -3766,7 +3766,7 @@ float QuadPlane::transition_threshold(void) @@ -3766,7 +3766,7 @@ float QuadPlane::transition_threshold(void)
void QuadPlane::update_throttle_mix(void)
{
// update filtered acceleration
Vector3f accel_ef = ahrs.get_accel_ef_blended();
Vector3f accel_ef = ahrs.get_accel_ef();
accel_ef.z += GRAVITY_MSS;
throttle_mix_accel_ef_filter.apply(accel_ef, plane.scheduler.get_loop_period_s());

Loading…
Cancel
Save