mag calibration: minor cleanup (#22830)

This commit is contained in:
Sihyun Noh 2024-03-05 17:00:08 +09:00 committed by GitHub
parent 0186d687b2
commit 23a41299fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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;