ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.02k stars 17.57k forks source link

Plane: QuadPlane should handle yaw reset like Copter #5877

Open rmackay9 opened 7 years ago

rmackay9 commented 7 years ago

The EKF can reset it's yaw when it climbs about 2m after takeoff (at least it does in Copter). Assuming this reset happens when the EKF is being used in QuadPlane then we should reset the yaw target like we do in copter.

The relevant copter function is "check_ekf_reset" in ekf_check.cpp.

DavidIngraham commented 6 years ago

+1 We had a vehicle with bad compass interference where this caused big problems. The yaw would reset on every takeoff, leading to a very scary uncontrolled yawing motion.

mwingerson commented 5 years ago

has this been addressed?

prateekjain0608 commented 4 years ago

Has this been addressed? I am having a similar issue in Tailsitter. @rmackay9 Immediately after take-off, MP HUD displays "Error Compass Variance" and there's "EKF Yaw Reset" message.