Hiding "BAD Compass Health"

I'm currently running a APM 2.5+ board on a skywalker 1880. Due to tightly packed electronics, occasionally the compass will give out bad reading and the "BAD Compass Health" warning will show on mission planner's HUD. Despite the error, the plane still flies perfectly. The problem is it will be in a competition soon, and I don't want the message showing up during flight with judges watching. Does anyone know if it's possible to disable that warning?

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

Join diydrones

Email me when people reply –

Replies

  • Success!  I mounted the external gps/compass and now my magfield reading is down to 263 and change.

    I noticed that after I cut the trace (I have a 2.5 board) that the onboard compass still has a little influence in Mission Planner.  With the PCB on the table, and the external gps/compass connected, I rotated just the PCB and the compass follows it.  It does drift back to the heading of the external compass but I thought that was interesting.    Anyway, I didn't think it would matter since they are both facing in the same direction.

    Loiter works as advertised.  RTL works but I have questions that I post in a more relevant thread.

    Thanks!

    Bill

    • sory, just want to know, what your magfield before u mounted your ex.gps? my magfield now is 306, what should the value of magfield be?

    • Developer

      Bill,

      great news.

      The heading change when the board is rotated is coming from the gyros.  We mix the two signals, so very short-term updates come from the gyros but long-term it comes from the compass.

  • Thanks Randy, that eases my mind a lot. :-)

    Bill

  • Hello everyone,

    I have APM 2.5 on an FW550 Hex and also have a Bad Compass Health message in Mission Planner. My magfield is always fluctuating between 499 and 502 no matter what I do.

    mag_ofs_x is -92

    mag_ofs_y is 64

    mag_ofs_z is -47

     I have done the following to try to improve the reading

    1. Calibrated the mag outside - no luck

    2. installed a 2.5" platform for the APM - no luck

    3. ESC are on the underside of the arms

    4. Battery is on the underside of the bottom platform (4.5" below APM)

    I have attached a pic of what it all looks like.

    I have ordered the external gps w/mag from 3dr in hopes that it will solve my problem.

    Anyone have more advice for me?

    Thanks,

    Bill

    APM 2.5 On Hexacopter

    https://storage.ning.com/topology/rest/1.0/file/get/3701867636?profile=original
    • Developer

      These are not a real issue.  It's a false positive during the start-up of the board before the gyros are initialised and become healthy.  In AC3.2 we delay the reporting of the gyro health until after they've initialised so this message doesn't appear.  AC3.2 will be out soon but if you can't wait, maybe raising an issue on the Mission Planner's issue list to ask for the messages to be suppressed for 10 seconds after connecting to the board.

  • Here is where you want to look to see about disabling certain checks, or all for that matter, when booting up the APM:

    http://plane.ardupilot.com/wiki/arduplane-parameters/#ARMING__Param...

    • Moderator

      Those are only checks specifically for Arming, they will not disable the "Bad Compass Health" warning

  • "These warnings about a critical control system not working properly are very annoying.  Can't I just turn them off??"

    :/

  • I know it's not exactly the answer you're asking for, but having the same problem myself plus bogus home-arrow readings, I just disabled the magnetometer altogether.  Once the plane is moving the GPS will give all the directional info needed - to the APM and to the pilot.  Unless you're doing auto takeoffs and need precise initial ground tracking from the compass....

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
1 hour ago
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
yesterday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: What a great way to connect why @diyrobocars community is so valuable and important! Have to start somewhere @IndyAChallenge…
Oct 23
More…