From c826140c2bc2972298653fff456b8f3aa8b14fb3 Mon Sep 17 00:00:00 2001 From: CarlOlsson Date: Thu, 18 Oct 2018 16:30:20 +0200 Subject: [PATCH] commander: update comment to make post takeoff ekf quality test logic more clear --- src/modules/commander/Commander.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/Commander.hpp b/src/modules/commander/Commander.hpp index 0e5a461271..f51ab5a959 100644 --- a/src/modules/commander/Commander.hpp +++ b/src/modules/commander/Commander.hpp @@ -125,7 +125,7 @@ private: /* class variables used to check for navigation failure after takeoff */ hrt_abstime _time_at_takeoff{0}; /**< last time we were on the ground */ - hrt_abstime _time_last_innov_pass{0}; /**< last time velocity innovations passed */ + hrt_abstime _time_last_innov_pass{0}; /**< last time velocity or position innovations passed */ bool _nav_test_passed{false}; /**< true if the post takeoff navigation test has passed */ bool _nav_test_failed{false}; /**< true if the post takeoff navigation test has failed */