Browse Source

ArduCopter: allow logging of both IMU and IMU_RAW

allow logging of both IMU and IMU_RAW at the same time so that filtering and errors can be seen
master
Andy Piper 6 years ago committed by Andrew Tridgell
parent
commit
7fd22f63a9
  1. 3
      ArduCopter/Copter.cpp

3
ArduCopter/Copter.cpp

@ -389,8 +389,7 @@ void Copter::twentyfive_hz_logging() @@ -389,8 +389,7 @@ void Copter::twentyfive_hz_logging()
Log_Write_EKF_POS();
}
// log IMU data if we're not already logging at the higher rate
if (should_log(MASK_LOG_IMU) && !should_log(MASK_LOG_IMU_RAW)) {
if (should_log(MASK_LOG_IMU)) {
logger.Write_IMU();
}
#endif

Loading…
Cancel
Save