mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 02:53:33 +08:00
Better message formatting
This commit is contained in:
@@ -519,7 +519,7 @@ BottleDrop::task_main()
|
|||||||
approach_error = _wrap_pi(ground_direction - approach_direction);
|
approach_error = _wrap_pi(ground_direction - approach_direction);
|
||||||
|
|
||||||
if (counter % 90 == 0) {
|
if (counter % 90 == 0) {
|
||||||
mavlink_log_critical(_mavlink_fd, "drop distance %u, heading: %u", (unsigned)distance_real, (unsigned)math::degrees(approach_error));
|
mavlink_log_critical(_mavlink_fd, "drop distance %u, heading error %u", (unsigned)distance_real, (unsigned)math::degrees(approach_error));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user