AP_NavEKF3: move log message IDs in from AP_Logger LogStructure

This commit is contained in:
Peter Barker 2020-12-03 10:43:39 +11:00 committed by Andrew Tridgell
parent ea36a84b53
commit 287e9350a5
2 changed files with 15 additions and 4 deletions

View File

@ -235,7 +235,7 @@ void NavEKF3_core::Log_Write_Beacon(uint64_t time_us)
}
const struct log_XKF0 pkt10{
LOG_PACKET_HEADER_INIT(LOG_XKF10_MSG),
LOG_PACKET_HEADER_INIT(LOG_XKF0_MSG),
time_us : time_us,
core : DAL_CORE(core_index),
ID : rngBcnFuseDataReportIndex,

View File

@ -3,11 +3,22 @@
#include <AP_Logger/LogStructure.h>
#define LOG_IDS_FROM_NAVEKF3 \
LOG_XKT_MSG, \
LOG_XKF0_MSG, \
LOG_XKF1_MSG, \
LOG_XKF2_MSG, \
LOG_XKF3_MSG, \
LOG_XKF4_MSG, \
LOG_XKF5_MSG, \
LOG_XKFD_MSG, \
LOG_XKFM_MSG, \
LOG_XKFS_MSG, \
LOG_XKQ_MSG, \
LOG_XKT_MSG, \
LOG_XKTV_MSG, \
LOG_XKV1_MSG, \
LOG_XKV2_MSG, \
LOG_XKY0_MSG, \
LOG_XKY1_MSG, \
LOG_XKTV_MSG
LOG_XKY1_MSG
// @LoggerMessage: XKF0
// @Description: EKF3 beacon sensor diagnostics