From c7bd04966af78987143cd610dd52cc074cedb4cc Mon Sep 17 00:00:00 2001 From: jaxxzer Date: Sat, 20 Feb 2016 23:10:48 -0500 Subject: [PATCH] Sub: Temporary fix for nav check arming failure --- ArduSub/arming_checks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduSub/arming_checks.cpp b/ArduSub/arming_checks.cpp index 2bcf7829e5..9811d6e2e8 100644 --- a/ArduSub/arming_checks.cpp +++ b/ArduSub/arming_checks.cpp @@ -524,6 +524,7 @@ bool Sub::arm_checks(bool display_failure, bool arming_from_gcs) if (display_failure) { gcs_send_text(MAV_SEVERITY_CRITICAL,"Arm: Waiting for Nav Checks"); } + ahrs.reset(); // This will fix the altitude hang; ToDo: figure out what is actually causing the hang return false; }