mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
ArduCopter: Privatize AP_IntertialSensor Logging
This commit is contained in:
parent
86a75789a6
commit
a5b984640e
@ -423,7 +423,7 @@ void Copter::ten_hz_logging_loop()
|
||||
pos_control->write_log();
|
||||
}
|
||||
if (should_log(MASK_LOG_IMU) || should_log(MASK_LOG_IMU_FAST) || should_log(MASK_LOG_IMU_RAW)) {
|
||||
logger.Write_Vibration();
|
||||
AP::ins().Write_Vibration();
|
||||
}
|
||||
if (should_log(MASK_LOG_CTUN)) {
|
||||
attitude_control->control_monitor_log();
|
||||
@ -458,7 +458,7 @@ void Copter::twentyfive_hz_logging()
|
||||
}
|
||||
|
||||
if (should_log(MASK_LOG_IMU)) {
|
||||
logger.Write_IMU();
|
||||
AP::ins().Write_IMU();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user