You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
689 B
25 lines
689 B
#include "AP_Nav_Common.h" |
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
#include <AP_Logger/AP_Logger.h> |
|
|
|
/* |
|
write an EKF timing message |
|
*/ |
|
void Log_EKF_Timing(const char *name, uint64_t time_us, const struct ekf_timing &timing) |
|
{ |
|
AP::logger().Write( |
|
name, |
|
"TimeUS,Cnt,IMUMin,IMUMax,EKFMin,EKFMax,AngMin,AngMax,VMin,VMax", |
|
"QIffffffff", |
|
time_us, |
|
timing.count, |
|
(double)timing.dtIMUavg_min, |
|
(double)timing.dtIMUavg_max, |
|
(double)timing.dtEKFavg_min, |
|
(double)timing.dtEKFavg_max, |
|
(double)timing.delAngDT_min, |
|
(double)timing.delAngDT_max, |
|
(double)timing.delVelDT_min, |
|
(double)timing.delVelDT_max); |
|
}
|
|
|