mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
Replay: call Log_Write_POS()
This commit is contained in:
parent
74485c5754
commit
49146a2a88
@ -343,6 +343,7 @@ static void read_sensors(const char *type)
|
|||||||
hal.scheduler->stop_clock(hal.scheduler->micros() + update_delta_usec);
|
hal.scheduler->stop_clock(hal.scheduler->micros() + update_delta_usec);
|
||||||
dataflash.Log_Write_EKF(ahrs,false);
|
dataflash.Log_Write_EKF(ahrs,false);
|
||||||
dataflash.Log_Write_AHRS2(ahrs);
|
dataflash.Log_Write_AHRS2(ahrs);
|
||||||
|
dataflash.Log_Write_POS(ahrs);
|
||||||
ins.set_gyro(0, ins.get_gyro());
|
ins.set_gyro(0, ins.get_gyro());
|
||||||
ins.set_accel(0, ins.get_accel());
|
ins.set_accel(0, ins.get_accel());
|
||||||
if (ahrs.healthy() != ahrs_healthy) {
|
if (ahrs.healthy() != ahrs_healthy) {
|
||||||
|
Loading…
Reference in New Issue
Block a user