mirror of https://github.com/ArduPilot/ardupilot
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
This commit is contained in:
parent
36327d56de
commit
7fd22f63a9
|
@ -389,8 +389,7 @@ void Copter::twentyfive_hz_logging()
|
||||||
Log_Write_EKF_POS();
|
Log_Write_EKF_POS();
|
||||||
}
|
}
|
||||||
|
|
||||||
// log IMU data if we're not already logging at the higher rate
|
if (should_log(MASK_LOG_IMU)) {
|
||||||
if (should_log(MASK_LOG_IMU) && !should_log(MASK_LOG_IMU_RAW)) {
|
|
||||||
logger.Write_IMU();
|
logger.Write_IMU();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue