diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-24 21:49:22 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-24 21:49:22 +0200 |
commit | 303664d94af4949bcc7f1c3393f82eb242a60c5e (patch) | |
tree | 321e48685db4297d879363d99e0dfe6f0a6d7bdb /src/modules/navigator | |
parent | a08b7a9f359cc0cf9c6d0631bb844b54f50adcab (diff) | |
download | px4-firmware-303664d94af4949bcc7f1c3393f82eb242a60c5e.tar.gz px4-firmware-303664d94af4949bcc7f1c3393f82eb242a60c5e.tar.bz2 px4-firmware-303664d94af4949bcc7f1c3393f82eb242a60c5e.zip |
add landengfail nav state
Diffstat (limited to 'src/modules/navigator')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index 21ab691ff..043d883b2 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -393,6 +393,9 @@ Navigator::task_main() _navigation_mode = &_rtl; /* TODO: change this to something else */ } break; + case NAVIGATION_STATE_AUTO_LANDENGFAIL: + _navigation_mode = &_engineFailure; + break; case NAVIGATION_STATE_LAND: case NAVIGATION_STATE_TERMINATION: case NAVIGATION_STATE_OFFBOARD: |