Nav_takeoff: Failed error Hereflow Optical Sensor

Hello,

I have been having an issue where I get a Nav_Takeoff: Failed whenever I try to takeoff. These are the critical parameters that i’ve set:

AHRS_EKF_TYPE = 3 (Enable EKF version 3, 2 is set by default)​
EK2_ENABLE = 0 (Disable EKF2)​
EK3_ENABLE=1 (Enable EKF3)​
GPS_TYPE = 0 (Disable GPS)​
EK3_GPS_TYPE=3​
AHRS_GPS_USE=0​

I also tried using EK2, but no luck. I “set EKF_Origin here” and can see the copter, per the screenshot:

But no luck! I still get the Nav takeoff failure when trying to fly from mavproxy. Any tips?

Here are the rest of my parameters.
MyParamsNavFailure.param (17.8 KB)