Browse Source

AP_NavEKF2: added ad-hoc logging example to EKF2

master
Andrew Tridgell 9 years ago
parent
commit
b7ba0fa458
  1. 3
      libraries/AP_NavEKF2/AP_NavEKF2.cpp

3
libraries/AP_NavEKF2/AP_NavEKF2.cpp

@ -497,6 +497,9 @@ void NavEKF2::check_log_write(void)
DataFlash_Class::instance()->Log_Write_IMUDT(ins); DataFlash_Class::instance()->Log_Write_IMUDT(ins);
logging.log_imu = false; logging.log_imu = false;
} }
// this is an example of an ad-hoc log in EKF
// DataFlash_Class::instance()->Log_Write("NKA", "TimeUS,X", "Qf", AP_HAL::micros64(), 2.4f);
} }

Loading…
Cancel
Save