// get the velocity relative to the local earth frame
_ahrs_ekf.get_velocity_NED(_velocity_cm);
_velocity_cm*=100;// convert to cm/s
if(_ahrs_ekf.get_velocity_NED(_velocity_cm)){
_velocity_cm*=100;// convert to cm/s
_velocity_cm.z=-_velocity_cm.z;// InertialNav is NEU
}
// Get a derivative of the vertical position which is kinematically consistent with the vertical position is required by some control loops.
// This is different to the vertical velocity from the EKF which is not always consistent with the verical position due to the various errors that are being corrected for.