mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_AHRS: punt to correct parent class when no index for getCorrectedDeltaVelocityNED
This commit is contained in:
parent
b450a96698
commit
a6a18fe193
@ -1986,7 +1986,7 @@ void AP_AHRS::getCorrectedDeltaVelocityNED(Vector3f& ret, float& dt) const
|
||||
#endif
|
||||
}
|
||||
if (imu_idx == -1) {
|
||||
AP_AHRS::getCorrectedDeltaVelocityNED(ret, dt);
|
||||
AP_AHRS_DCM::getCorrectedDeltaVelocityNED(ret, dt);
|
||||
return;
|
||||
}
|
||||
ret.zero();
|
||||
|
Loading…
Reference in New Issue
Block a user