From 206d5e468c0e1786c246080c5af118ec9a276b44 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Nov 2021 14:54:34 +1100 Subject: [PATCH] Plane: suppress spurious EKF yaw reset message this makes plane match copter, emitting a yaw reset event, but not worrying user. This message came out on each boot when EKF3 first became active --- ArduPlane/quadplane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index dfedf12c37..dfbf1ecbd6 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -1160,7 +1160,7 @@ void QuadPlane::check_yaw_reset(void) if (new_ekfYawReset_ms != ekfYawReset_ms) { attitude_control->inertial_frame_reset(); ekfYawReset_ms = new_ekfYawReset_ms; - gcs().send_text(MAV_SEVERITY_INFO, "EKF yaw reset %.2f", (double)degrees(yaw_angle_change_rad)); + AP::logger().Write_Event(LogEvent::EKF_YAW_RESET); } }