From 8630874ef3f257bae78bedc7e669bff1a66baad1 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Sun, 31 Jan 2016 21:45:28 +1100 Subject: [PATCH] AP_NavEKF2: Send correct data over mavlink status message --- libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp b/libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp index 7a90a824da..479a577806 100644 --- a/libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp +++ b/libraries/AP_NavEKF2/AP_NavEKF2_Outputs.cpp @@ -535,7 +535,7 @@ void NavEKF2_core::send_status_report(mavlink_channel_t chan) getVariances(velVar, posVar, hgtVar, magVar, tasVar, offset); // send message - mavlink_msg_ekf_status_report_send(chan, flags, velVar, posVar, hgtVar, magVar.length(), tasVar); + mavlink_msg_ekf_status_report_send(chan, flags, velVar, posVar, hgtVar, magVar.length(), sqrtf(auxRngTestRatio)); }