Autonomous Drone with Autopilot without Gps

I’m trying to configure my drone for flight arducopter v4.5.7 without Gps but with Px4 optical Flow sensor. I noticed for manual flight I have to use the Flow Mode instead of the Loiter mode. But to use Guided mode, it shows AHRS: waiting for home. I’ve tried everything on the wiki.

Any ideas??