From 23a41299fa02e69e0445ef245b9409f787c91724 Mon Sep 17 00:00:00 2001 From: Sihyun Noh Date: Tue, 5 Mar 2024 17:00:08 +0900 Subject: [PATCH] mag calibration: minor cleanup (#22830) --- src/modules/commander/mag_calibration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/commander/mag_calibration.cpp b/src/modules/commander/mag_calibration.cpp index 3fff697d49..02ab015e0f 100644 --- a/src/modules/commander/mag_calibration.cpp +++ b/src/modules/commander/mag_calibration.cpp @@ -1006,8 +1006,8 @@ int do_mag_calibration_quick(orb_advert_t *mavlink_log_pub, float heading_radian return PX4_ERROR; } - calibration_log_critical(mavlink_log_pub, "Assuming vehicle is facing heading %.1f degrees", - (double)math::radians(heading_radians)); + calibration_log_info(mavlink_log_pub, "Assuming vehicle is facing heading %.1f degrees", + (double)math::degrees(heading_radians)); matrix::Eulerf euler{matrix::Quatf{attitude.q}}; euler(2) = heading_radians;