forked from Archive/PX4-Autopilot
added rattitude to geofence exit condition
This commit is contained in:
parent
a59038e3cb
commit
5a7046027c
|
@ -2355,6 +2355,7 @@ int commander_thread_main(int argc, char *argv[])
|
|||
main_state_before_rtl == commander_state_s::MAIN_STATE_ALTCTL ||
|
||||
main_state_before_rtl == commander_state_s::MAIN_STATE_POSCTL ||
|
||||
main_state_before_rtl == commander_state_s::MAIN_STATE_ACRO ||
|
||||
main_state_before_rtl == commander_state_s::MAIN_STATE_RATTITUDE ||
|
||||
main_state_before_rtl == commander_state_s::MAIN_STATE_STAB)) {
|
||||
|
||||
// transition to previous state if sticks are increased
|
||||
|
|
Loading…
Reference in New Issue