aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander/state_machine_helper.cpp
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2014-06-12 19:09:18 +0200
committerJulian Oes <julian@oes.ch>2014-06-12 19:09:18 +0200
commitd48a8bc073a3aa5f515c582a1c2c3cae58a8d783 (patch)
treea9c3ecbb3976fd134122c87b9a2614fc801bd413 /src/modules/commander/state_machine_helper.cpp
parentd9a64bb58720300417f190b8a8b610ab2966a11f (diff)
downloadpx4-firmware-d48a8bc073a3aa5f515c582a1c2c3cae58a8d783.tar.gz
px4-firmware-d48a8bc073a3aa5f515c582a1c2c3cae58a8d783.tar.bz2
px4-firmware-d48a8bc073a3aa5f515c582a1c2c3cae58a8d783.zip
navigator: renamed the different RTL states
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r--src/modules/commander/state_machine_helper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp
index 214480079..c52e618ef 100644
--- a/src/modules/commander/state_machine_helper.cpp
+++ b/src/modules/commander/state_machine_helper.cpp
@@ -406,12 +406,12 @@ void set_nav_state(struct vehicle_status_s *status)
}
break;
- case FAILSAFE_STATE_RTL_RC:
- status->set_nav_state = NAVIGATION_STATE_AUTO_RTL_RC;
+ case FAILSAFE_STATE_RC_LOSS:
+ status->set_nav_state = NAVIGATION_STATE_AUTO_FAILSAFE_RC_LOSS;
break;
- case FAILSAFE_STATE_RTL_DL:
- status->set_nav_state = NAVIGATION_STATE_AUTO_RTL_DL;
+ case FAILSAFE_STATE_DL_LOSS:
+ status->set_nav_state = NAVIGATION_STATE_AUTO_FAILSAFE_DL_LOSS;
break;
case FAILSAFE_STATE_LAND: