mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
DataFlash: move COMPASS2,3 formats to extra structures
This commit is contained in:
parent
4aba4b13ac
commit
842efe71be
@ -27,8 +27,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class Compass;
|
|
||||||
|
|
||||||
class DataFlash_Class
|
class DataFlash_Class
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -560,10 +558,6 @@ Format characters in the format string for binary log messages
|
|||||||
"ATT", "IccccCCCC", "TimeMS,DesRoll,Roll,DesPitch,Pitch,DesYaw,Yaw,ErrRP,ErrYaw" }, \
|
"ATT", "IccccCCCC", "TimeMS,DesRoll,Roll,DesPitch,Pitch,DesYaw,Yaw,ErrRP,ErrYaw" }, \
|
||||||
{ LOG_COMPASS_MSG, sizeof(log_Compass), \
|
{ LOG_COMPASS_MSG, sizeof(log_Compass), \
|
||||||
"MAG", "Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" }, \
|
"MAG", "Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" }, \
|
||||||
{ LOG_COMPASS2_MSG, sizeof(log_Compass), \
|
|
||||||
"MAG2","Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" }, \
|
|
||||||
{ LOG_COMPASS3_MSG, sizeof(log_Compass), \
|
|
||||||
"MAG3","Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" }, \
|
|
||||||
{ LOG_MODE_MSG, sizeof(log_Mode), \
|
{ LOG_MODE_MSG, sizeof(log_Mode), \
|
||||||
"MODE", "IMB", "TimeMS,Mode,ModeNum" }
|
"MODE", "IMB", "TimeMS,Mode,ModeNum" }
|
||||||
|
|
||||||
@ -612,7 +606,11 @@ Format characters in the format string for binary log messages
|
|||||||
{ 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" }, \
|
||||||
|
{ LOG_COMPASS2_MSG, sizeof(log_Compass), \
|
||||||
|
"MAG2","Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" }, \
|
||||||
|
{ LOG_COMPASS3_MSG, sizeof(log_Compass), \
|
||||||
|
"MAG3","Ihhhhhhhhh", "TimeMS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ" } \
|
||||||
|
|
||||||
#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…
Reference in New Issue
Block a user