mirror of https://github.com/ArduPilot/ardupilot
Arducopter: Move Attitude Message structure definition to the Base Structures section.
Conflicts: libraries/DataFlash/DataFlash.h
This commit is contained in:
parent
d2adf2cdd7
commit
2fdcd99db2
|
@ -530,7 +530,9 @@ Format characters in the format string for binary log messages
|
||||||
{ LOG_ARSP_MSG, sizeof(log_AIRSPEED), \
|
{ LOG_ARSP_MSG, sizeof(log_AIRSPEED), \
|
||||||
"ARSP", "Iffcff", "TimeMS,Airspeed,DiffPress,Temp,RawPress,Offset" }
|
"ARSP", "Iffcff", "TimeMS,Airspeed,DiffPress,Temp,RawPress,Offset" }
|
||||||
{ LOG_CURRENT_MSG, sizeof(log_Current), \
|
{ LOG_CURRENT_MSG, sizeof(log_Current), \
|
||||||
"CURR", "Ihhhhfh","TimeMS,Throttle,Volt,Curr,Vcc,CurrTot,Volt2" }
|
"CURR", "Ihhhhfh","TimeMS,Throttle,Volt,Curr,Vcc,CurrTot,Volt2" },\
|
||||||
|
{ LOG_ATTITUDE_MSG, sizeof(log_Attitude),\
|
||||||
|
"ATT", "IccccCCCC", "TimeMS,DesRoll,Roll,DesPitch,Pitch,DesYaw,Yaw,ErrRP,ErrYaw" }
|
||||||
|
|
||||||
// messages for more advanced boards
|
// messages for more advanced boards
|
||||||
#define LOG_EXTRA_STRUCTURES \
|
#define LOG_EXTRA_STRUCTURES \
|
||||||
|
@ -577,9 +579,7 @@ 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_ATTITUDE_MSG, sizeof(log_Attitude),\
|
|
||||||
"ATT", "IccccCCCC", "TimeMS,DesRoll,Roll,DesPitch,Pitch,DesYaw,Yaw,ErrRP,ErrYaw" }
|
|
||||||
|
|
||||||
#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