AP_NavEKF: use instance # when logging EKF core timings
This commit is contained in:
parent
b0549c7569
commit
0da27417bc
@ -6,13 +6,16 @@
|
||||
/*
|
||||
write an EKF timing message
|
||||
*/
|
||||
void Log_EKF_Timing(const char *name, uint64_t time_us, const struct ekf_timing &timing)
|
||||
void Log_EKF_Timing(const char * name, const uint8_t core, uint64_t time_us, const struct ekf_timing &timing)
|
||||
{
|
||||
AP::logger().Write(
|
||||
name,
|
||||
"TimeUS,Cnt,IMUMin,IMUMax,EKFMin,EKFMax,AngMin,AngMax,VMin,VMax",
|
||||
"QIffffffff",
|
||||
"TimeUS,C,Cnt,IMUMin,IMUMax,EKFMin,EKFMax,AngMin,AngMax,VMin,VMax",
|
||||
"s#sssssssss", // Units
|
||||
"F-000000000", // Mults
|
||||
"QBIffffffff", // Format
|
||||
time_us,
|
||||
core,
|
||||
timing.count,
|
||||
(double)timing.dtIMUavg_min,
|
||||
(double)timing.dtIMUavg_max,
|
||||
|
@ -75,4 +75,4 @@ struct ekf_timing {
|
||||
float delVelDT_max;
|
||||
float delVelDT_min;
|
||||
};
|
||||
void Log_EKF_Timing(const char *name, uint64_t time_us, const struct ekf_timing &timing);
|
||||
void Log_EKF_Timing(const char *name, const uint8_t core, uint64_t time_us, const struct ekf_timing &timing);
|
||||
|
Loading…
Reference in New Issue
Block a user