Dataflash : Fix bug in EKF opt flow logging

This commit is contained in:
priseborough 2014-11-03 15:40:34 +11:00 committed by Andrew Tridgell
parent df59f3311a
commit 2baa1e56ed

View File

@ -1003,7 +1003,7 @@ void DataFlash_Class::Log_Write_EKF(AP_AHRS_NavEKF &ahrs)
float augFlowInnovX, augFlowInnovY;
float rngInnov;
float range;
ahrs.get_NavEKF().getFlowDebug(fscale, gndPos, flowInnovX, flowInnovY, flowInnovY, augFlowInnovY, rngInnov, range);
ahrs.get_NavEKF().getFlowDebug(fscale, gndPos, flowInnovX, flowInnovY, augFlowInnovX, augFlowInnovY, rngInnov, range);
struct log_EKF5 pkt5 = {
LOG_PACKET_HEADER_INIT(LOG_EKF5_MSG),
time_ms : hal.scheduler->millis(),