Replay: use ahrs singleton to log ATT, POS and AHRS2
This commit is contained in:
parent
3cd66dbdd9
commit
f431c0b256
@ -619,10 +619,10 @@ void Replay::write_ekf_logs(void)
|
|||||||
_vehicle.ahrs.Log_Write();
|
_vehicle.ahrs.Log_Write();
|
||||||
}
|
}
|
||||||
if (!LogReader::in_list("AHRS2", nottypes)) {
|
if (!LogReader::in_list("AHRS2", nottypes)) {
|
||||||
_vehicle.logger.Write_AHRS2(_vehicle.ahrs);
|
_vehicle.logger.Write_AHRS2();
|
||||||
}
|
}
|
||||||
if (!LogReader::in_list("POS", nottypes)) {
|
if (!LogReader::in_list("POS", nottypes)) {
|
||||||
_vehicle.logger.Write_POS(_vehicle.ahrs);
|
_vehicle.logger.Write_POS();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user