DataFlash : Fix EKF optical flow logging bug

This commit is contained in:
priseborough 2014-11-04 20:59:19 +11:00 committed by Andrew Tridgell
parent 7ec8dfebcf
commit 7d27a22f77
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ void DataFlash_Class::Log_Write_EKF(AP_AHRS_NavEKF &ahrs)
time_ms : hal.scheduler->millis(), time_ms : hal.scheduler->millis(),
FIX : (int16_t)(1000*flowInnovX), FIX : (int16_t)(1000*flowInnovX),
FIY : (int16_t)(1000*flowInnovY), FIY : (int16_t)(1000*flowInnovY),
AFIX : (int16_t)(1000*flowInnovY), AFIX : (int16_t)(1000*augFlowInnovX),
AFIY : (int16_t)(1000*augFlowInnovY), AFIY : (int16_t)(1000*augFlowInnovY),
gndPos : (int16_t)(100*gndPos), gndPos : (int16_t)(100*gndPos),
scaler: (uint8_t)(100*fscale), scaler: (uint8_t)(100*fscale),