mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: use get_delta_angle_dt() API
This commit is contained in:
parent
ee453783eb
commit
acb4885989
|
@ -251,7 +251,7 @@ void NavEKF2_core::readIMUData()
|
|||
} else {
|
||||
readDeltaAngle(ins.get_primary_gyro(), imuDataNew.delAng);
|
||||
}
|
||||
imuDataNew.delAngDT = MAX(ins.get_delta_time(),1.0e-4f);
|
||||
imuDataNew.delAngDT = MAX(ins.get_delta_angle_dt(imu_index),1.0e-4f);
|
||||
|
||||
// Get current time stamp
|
||||
imuDataNew.time_ms = imuSampleTime_ms;
|
||||
|
|
Loading…
Reference in New Issue