DataFlash: Allow negative HAGL values in the EKF optical flow debug log

This commit is contained in:
priseborough 2015-01-06 17:17:39 +11:00 committed by Andrew Tridgell
parent 2f5aa210ce
commit 873860e810

View File

@ -356,7 +356,7 @@ struct PACKED log_EKF5 {
int16_t FIX;
int16_t FIY;
int16_t AFI;
uint16_t HAGL;
int16_t HAGL;
int16_t offset;
int16_t RI;
uint16_t meaRng;
@ -532,7 +532,7 @@ struct PACKED log_Esc {
{ LOG_ESC8_MSG, sizeof(log_Esc), \
"ESC8", "Icccc", "TimeMS,RPM,Volt,Curr,Temp" }, \
{ LOG_EKF5_MSG, sizeof(log_EKF5), \
"EKF5","IBhhhCccCC","TimeMS,normInnov,FIX,FIY,AFI,HAGL,offset,RI,meaRng,errHAGL" }
"EKF5","IBhhhcccCC","TimeMS,normInnov,FIX,FIY,AFI,HAGL,offset,RI,meaRng,errHAGL" }
#if HAL_CPU_CLASS >= HAL_CPU_CLASS_75
#define LOG_COMMON_STRUCTURES LOG_BASE_STRUCTURES, LOG_EXTRA_STRUCTURES