mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -04:00
ArduSub: Privatize AP_IntertialSensor Logging
This commit is contained in:
parent
5c8c961399
commit
7e5ac5b648
@ -199,7 +199,7 @@ void Sub::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();
|
||||
@ -223,7 +223,7 @@ void Sub::twentyfive_hz_logging()
|
||||
|
||||
// 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)) {
|
||||
logger.Write_IMU();
|
||||
AP::ins().Write_IMU();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user