Welcome to Multi-Rotor UK. Please login or sign up.

Saturday,November 23, 2024, 10:26:55

Login with username, password and session length

Shoutbox

Bad Raven:
12 May 2024 08:13:51
 I have some F1 Abusemark boards going spare,,,,,,,,,,,,,    ;)    :azn
DarkButterfly:
11 May 2024 22:12:29
And with oldskool parts  :D
DarkButterfly:
11 May 2024 22:11:57
I must be the only one doing tricopters right now  :laugh:
DarkButterfly:
11 May 2024 22:09:30
 :D
Gaza07:
11 May 2024 21:15:16
Domain has been renewed closure has been cancelled  :D
Gaza07:
02 May 2024 08:07:52
Who are most people ??? I think the person you are referring to has put in a lot of effort to keep things moving  :rolleyes:
hoverfly:
01 May 2024 10:16:12
Most people I have spoken to are pizzed off with the yellow peril  flooding the forum,go figure. :whistling:
Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Members
Stats
  • Total Posts: 201,498
  • Total Topics: 20,274
  • Online today: 17
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 7
Total: 8

Theme Changer





3d - Printworx

APM/Pixhawk Won't Arm - PreArm: High GPS HDOP

Started by Hands0n, Saturday,January 24, 2015, 23:50:00

Previous topic - Next topic

Hands0n

While working on a new APM 2.6 build I came across this issue whereby the APM will not arm because of a reported GPS HDOP of greater than 2.  Occasionally, re-powering the multi-rotor will see the HDOP below 2 and so arming is possible. However, that has not been consistent.

Tonight I have been researching this High GPS HDOP issue that we have been seeing.  And I think that I have some answers now ...

Trigger
The PreArm error message only triggers when attempting to arm the APM when a GPS-dependent function is enabled. That would be Loiter, Pos Hold, Auto (mission) or Geofence (I had Geofence enabled). 

In my case, disabling Geofence and setting flight mode to Stabilize sees the FC arm as normal and consistently with a reported HDOP of greater than 2 (but less than 3).

Mitigation
In Mission Planner, Config/Tuning, Full Parameter List, search for GPS_HDOP_GOOD and change it to 300 (from its default 200).  This not such a bad thing to do. See below for why.

Seeing as I want to use Geofence, which when enabled will require GPS before arming, I have set my FC';s parameter to 300 (3).

Root Cause
A longstanding bug exists in the Arducopter code that has been there for a couple of years and not fixed. It is where the Arducopter code is reading the PDOP value from the GPS and misrepresenting it as HDOP. Of course, there can be very many good reasons why PDOP might be higher. 

There is a fairly good explanation of it in a blog post here: https://www.cloud-surfer.net/2014/09/12/high-hdop-values-when-flying-iris/

If this is true then we will have to wait for the bug to be fixed, but the mitigation of setting the value to 300 (3) is benign. 

--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2