Drone PreArm: AHRS waiting for home, fence requires position

1.param (27.8 KB)

i am getting this prearm error , i dontknow what to do.

FENCE_ENABLE,1 will make the flight controller wait until there is a GPS 3D fix and Home can be set.
This is usually preferred, so you probably should not disable the fence, but check if there’s some reason the GPS is taking so long to get a fix. It can take up to 10 minutes.

If you want us to check more then set LOG_DISARMED,1 and leave the copter sit outside with a clear view of the sky for quite some time.
Upload that .bin log file to a file sharing service and provide a link to it here.

Also the firmware seems to be 4.7.0 Dev, it is probably a good idea to update to latest stable, 4.7.2

To back up what @xfacta said about being outside, I’ve experienced some small receivers that need a large open area with a clear sky view to get a position in any reasonable time.

Translated to plain English:
Drone: I’m going to protect you from yourself and only allow takeoff once I know where I am.
This way if there is something wrong, I will know how to get back home safely.

If you disable the fence, You are saying: I do not care about safety, and take full responsibility in getting the vehicle back home manually, and I’ll manually prevent the vehicle from going where it is not meant to be. If something goes wrong I take full responsibility and will not blame the software, because I disabled it myself.

There are many posts in this forum explaining this, Do a small search if this explanation is not detailed enough.