EKF: Fix half frame offset in flow gyro compensation.
The gyro data accumulation needs to be across the same integration period as the flow sensor. The previous code didn't sample the accumulation until the midpoint of the flow data had fallen behind the fusion time horizon.
This PR changes the optical flow time stamp definition so that flow data is retrieved when the leading edge of the flow accumulation period falls behind the fusion time horizon. This enables the accumulated gyro data to be sampled at the correct time. Fusion is then delayed until the mid sample time has fallen behind the fusion time horizon.
Vector2fflowRadXY;///< measured delta angle of the image about the X and Y body axes (rad), RH rotaton is positive
Vector3fgyroXYZ;///< measured delta angle of the inertial frame about the body axes obtained from rate gyro measurements (rad), RH rotation is positive
floatdt;///< amount of integration time (sec)
uint64_ttime_us;///< timestamp of the integration period mid-point (uSec)
uint64_ttime_us;///< timestamp of the integration period leading edge (uSec)
// Fuse optical flow LOS rate observations into the main filter if height above ground has been updated recently but use a relaxed time criteria to enable it to coast through bad range finder data