Reject Position Control

Hi

I assembled a quadrotor with GPS and optical flow. Now I want to fly indoor(GPS has no signal) with position control. But when I switch to position control, it reminds me that “Reject position control”.

I have referred to those answers:
Reject Position Control ( pixhawk 2 )
Reject position control, optical flow, LIDAR v3

So I add “use optical flow” in “EKF2_AID_MASK” and set “SYS_MC_EST_GROUP” to “local_position_estamitor”. But It does not work.

I can guarantee the optical flow is work and the installation direction is correct.

Can someone help me?

Thanks!