AP_NavEKF3: Use unique names for EKF2 logging

This commit is contained in:
Paul Riseborough 2020-04-24 06:53:33 +10:00 committed by Andrew Tridgell
parent 49e4c799d3
commit 9bdb89474a

View File

@ -351,7 +351,7 @@ void NavEKF3::Log_Write_GSF(uint8_t _core, uint64_t time_us) const
float wgt[N_MODELS_EKFGSF]; float wgt[N_MODELS_EKFGSF];
if (getDataEKFGSF(_core, yaw_composite, yaw_composite_variance, yaw, ivn, ive, wgt)) { if (getDataEKFGSF(_core, yaw_composite, yaw_composite_variance, yaw, ivn, ive, wgt)) {
AP::logger().Write("GSF0", AP::logger().Write("XKY0",
"TimeUS,C,YC,YCS,Y0,Y1,Y2,Y3,Y4,W0,W1,W2,W3,W4", "TimeUS,C,YC,YCS,Y0,Y1,Y2,Y3,Y4,W0,W1,W2,W3,W4",
"s#rrrrrrr-----", "s#rrrrrrr-----",
"F-000000000000", "F-000000000000",
@ -371,7 +371,7 @@ void NavEKF3::Log_Write_GSF(uint8_t _core, uint64_t time_us) const
wgt[3], wgt[3],
wgt[4]); wgt[4]);
AP::logger().Write("GSF1", AP::logger().Write("XKY1",
"TimeUS,C,IVN0,IVN1,IVN2,IVN3,IVN4,IVE0,IVE1,IVE2,IVE3,IVE4", "TimeUS,C,IVN0,IVN1,IVN2,IVN3,IVN4,IVE0,IVE1,IVE2,IVE3,IVE4",
"s#nnnnnnnnnn", "s#nnnnnnnnnn",
"F-0000000000", "F-0000000000",