From dab66e92d3772516a7c073cdf993b20c685e0040 Mon Sep 17 00:00:00 2001 From: Mathieu Bresciani Date: Thu, 15 Aug 2019 10:18:08 +0200 Subject: [PATCH] Fix typo --- src/modules/commander/state_machine_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 880c14bc4e..680c71d1fc 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -598,7 +598,7 @@ bool set_nav_state(vehicle_status_s *status, actuator_armed_s *armed, commander_ internal_state->main_state = commander_state_s::MAIN_STATE_POSCTL; } else if (is_armed && check_invalid_pos_nav_state(status, old_failsafe, mavlink_log_pub, status_flags, false, true)) { - // failsafe: necessary position estimate lost; witching is done in check_invalid_pos_nav_state + // failsafe: necessary position estimate lost; switching is done in check_invalid_pos_nav_state // Orbit can only be started via vehicle_command (mavlink). Consequently, recovery from failsafe into orbit // is not possible and therefore the internal_state needs to be adjusted.