Skip to content

Commit

Permalink
mag calibration: minor cleanup (#22830)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAD-CRAZY-MAN authored Mar 5, 2024
1 parent 0186d68 commit 23a4129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/commander/mag_calibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23a4129

Please sign in to comment.