Browse Source

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

master
priseborough 10 years ago committed by Andrew Tridgell
parent
commit
873860e810
  1. 4
      libraries/DataFlash/DataFlash.h

4
libraries/DataFlash/DataFlash.h

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

Loading…
Cancel
Save