mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 11:28:52 +08:00
Navigator: Improve output
This commit is contained in:
@@ -265,7 +265,7 @@ Mission::update_offboard_mission()
|
||||
_navigator->set_mission_result_updated();
|
||||
|
||||
} else {
|
||||
warnx("offboard mission update failed");
|
||||
PX4_WARN("offboard mission update failed");
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
|
||||
@@ -337,11 +337,12 @@ Navigator::task_main()
|
||||
|
||||
if (pret == 0) {
|
||||
/* timed out - periodic check for _task_should_exit, etc. */
|
||||
PX4_WARN("timed out");
|
||||
continue;
|
||||
|
||||
} else if (pret < 0) {
|
||||
/* this is undesirable but not much we can do - might want to flag unhappy status */
|
||||
warn("poll error %d, %d", pret, errno);
|
||||
PX4_WARN("poll error %d, %d", pret, errno);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user