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
07d99bec9f
commit
3bf2c49871
|
@ -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