Replay: use ahrs singleton to log ATT, POS and AHRS2

This commit is contained in:
Peter Barker 2019-10-24 11:33:44 +11:00 committed by Andrew Tridgell
parent 6cea485da1
commit c2b0bab762
1 changed files with 2 additions and 2 deletions

View File

@ -619,10 +619,10 @@ void Replay::write_ekf_logs(void)
_vehicle.ahrs.Log_Write();
}
if (!LogReader::in_list("AHRS2", nottypes)) {
_vehicle.logger.Write_AHRS2(_vehicle.ahrs);
_vehicle.logger.Write_AHRS2();
}
if (!LogReader::in_list("POS", nottypes)) {
_vehicle.logger.Write_POS(_vehicle.ahrs);
_vehicle.logger.Write_POS();
}
}