mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
commander: enhance the failsafe verbose output
This commit is contained in:
parent
d253c8ba7d
commit
f7db91ac32
@ -1851,7 +1851,11 @@ int commander_thread_main(int argc, char *argv[])
|
||||
|
||||
if (status.failsafe != failsafe_old) {
|
||||
status_changed = true;
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe state: %i", status.failsafe);
|
||||
if (status.failsafe) {
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe on");
|
||||
} else {
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe off");
|
||||
}
|
||||
failsafe_old = status.failsafe;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user