mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 09:50:34 +08:00
commander delete unused gps_failure_cmd
This commit is contained in:
committed by
Lorenz Meier
parent
ca804a2308
commit
5a6cde41d5
@@ -681,7 +681,7 @@ bool set_nav_state(struct vehicle_status_s *status,
|
||||
} else if (status_flags->vtol_transition_failure_cmd) {
|
||||
status->nav_state = vehicle_status_s::NAVIGATION_STATE_AUTO_RTL;
|
||||
|
||||
} else if (status_flags->gps_failure || status_flags->gps_failure_cmd) {
|
||||
} else if (status_flags->gps_failure) {
|
||||
if (status->is_rotary_wing) {
|
||||
status->nav_state = vehicle_status_s::NAVIGATION_STATE_DESCEND;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user