AP_NavEKF2: Send correct data over mavlink status message

This commit is contained in:
Paul Riseborough 2016-01-31 21:45:28 +11:00 committed by Randy Mackay
parent 1950008248
commit 8630874ef3
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}