3DR uBlox GPS with Compass - crazy mag offset readings

Hi,

I was having some problems with my quadcopter (running the APM 2.5) shooting off in random directions when I put it in Loiter or RTL modes.

After doing some reading I came to the conclusion that this was probably due to interference having an effect on the built-in compass on the APM. I bought myself a nice new 3DR GPS module with the built in compass thinking everything would b resolved, but when i've tried to do the compass calibration to give me the magnetic declination offset numbers, the numbers are so crazy that that the AMP won't allow me to arm.

I've tried it several times, even went out into the middle of a field to do it, but the numbers that are returned are up in the thousands.

If disconnect the Mag lead from the APM, and select 'onboard magnometer' in the MP, and do the dance again, i can get much more sensible numbers (inside the recommended -150 to 150). 

The problem with this is that my quad still shoots off at top speed in a random direction when i put it in Loiter.

Any suggestions???? I assume he new GPS with compass module is compatible with the APM 2.5?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • The coexistence of on board compass and external compass give you very odd result of compass calibration.

    3692840525?profile=originalYou may not cut the trace of internal compass trace on APM 2.5. However, sometimes the internal compass is appears even three times CUT and confirmed by microscope. There is some APM2.5 board that could not disable on board compass by cutting "Jumper trace". 

    • I have the same issue. I have cut the trace, and tested with Ohm meter, that there is no connection. And the internal compas is still active. If this is correct, how do we disable the internal compass.   

      Thanks  HC

  • One additional question to go with Bill's request for pics. Did you cut the "Jumper Trace" for the internal magnetometer to disable it? I just did this on my APM 2.5 and it made a world of difference in the "Auto" modes.

    Link to instructions for cutting the trace: http://copter.ardupilot.com/wiki/common-external-magnetometer-for-i...

  • Developer
    Can you post a picture of your setup. It ususlly really helps with these kind of issues. Thx
This reply was deleted.

Activity

Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Wednesday
DIY Robocars via Twitter
RT @SmallpixelCar: Smart move. The car used the shadow to guide it through the bridge. This was never in the training samples. But it learn…
Wednesday
DIY Robocars via Twitter
RT @SmallpixelCar: Getting closer to the target. Single camera. Untrained road. https://t.co/Wsr7RwDamj
Tuesday
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Tuesday
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Tuesday
DIY Robocars via Twitter
RT @RoboticMasters: #donkeycar https://t.co/czuLoVRcA4
Monday
DIY Robocars via Twitter
https://t.co/DKQbNTbz0g
Monday
DIY Robocars via Twitter
RT @RoboticMasters: Donkey car, car car car car car car; Donkey car, car car car car car car; Donkey Car. Anyone like our tiny tiny donkey…
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: After improving DBSCAN speed, I can get 11 frame per second on @NVIDIAEmbedded Jerson Xavier MAXN mode and the autonomou…
Jun 26
DIY Robocars via Twitter
RT @Heavy02011: Join us at next Virtual Race League: ⁦@diyrobocars⁩ Race #4 - Parking Lot Nerds, August 1st https://t.co/5KUpu7VGaH
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: #CUDA implementation should be easy, because most of the time is on distance calculations berween two points and if the…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: This is the view from the car. Even my lanenet inference is fast on @NVIDIAEmbedded Jerson Xavier, DBSCAN clustering tak…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: Ran my car in the park, with single camera and @sparkfun IMU. #TensorRT on @NVIDIAEmbedded Jetson Xavier. Lanenet one fr…
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: Making progress on drive the car autonomously in my neighborhood. This run used single camera only. No other sensors. ht…
Jun 24
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars/@donkey_car AI racers are getting *fast* in the simulator, in part because it's so well optimized for reinforc…
Jun 21
DIY Robocars via Twitter
RT @DAVGtech: Yesterday we had a ten year old in Canada racing a sixteen year old in France. This is a truly unique community and opportuni…
Jun 21
More…