AP_InertialNav: fixed use of ahrs.get_velocity with EKF disabled

This commit is contained in:
Randy Mackay 2014-10-09 16:43:24 +09:00
parent 811e8571f1
commit 31c256bdd8
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void AP_InertialNav_NavEKF::update(float dt)
_haveabspos = _ahrs.get_position(_abspos);
_ahrs.get_velocity_NED(_velocity_cm);
_ahrs_ekf.get_NavEKF().getVelNED(_velocity_cm);
_velocity_cm *= 100; // convert to cm/s
// InertialNav is NEU