DCM Bad Heading

I have no idea what is going on.  Everything was flying great and then I updated the firmware to 3.2 and now I keep getting DCM Bad Heading.  This unit only flew 3 times before I put 3.2 on it and it was working perfectly with 3.1.  IT does not matter what mode I have the unit in I get this message.  The unit keeps flying but very rough then poof it passes and it flies normal again.

http://youtu.be/fCXRKpAKPWo 

Here is the video file of what it says in mission planner as it flies.

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

Join diydrones

Email me when people reply –

Replies

  • Hallo at all, I have today the same message.I post my log files , someone can help me maybe? Thank's a lot.

    2.BIN

  • I had this problem after installing  pixhawk on a quad that had a pixhawk before with no issues so I knew it could not be proximity  to wires etc. I eventually re-did the compass-mot only 1/2 throttle not full throttle and that took care of the issue. Just an fyi

  • Dear Friend, 

    I suggest you recalibrate your compass or you isolate your gps and compass better from interferences :), look at ekf failsafe and DCM page on the link : http://copter.ardupilot.com/wiki/ekf-inav-failsafe/

    hope it help

    • Thanks, Chris. I did both those things with no luck. Then I had a closer look at my GPS mast. I had a crash a few days earlier and had broken the mast. I thought I had glued it back in place, but the glue didn't take. I think what was happening was the GPS/Compass was rotating relative to the quad from vibration, and the discrepancy between the compass data and the GPS/EKF headings was causing the error. I did a better fix on the mast and the problem is solved...

      Thanks again for the replies, guys :)

  • This happens when there is a discrepancy between compass heading and actual for more than a second. Move your gps compass module higher up on your frame away from batteries wires distribution esc's etc... Re do live mag calibration. Then also do a compassmot calibration. That should fix it.
    • Right on @pyrosamz did these two things and it has solved my problem.

      • Your most welcome rick. :)
  • I'm experiencing this as well on my 3DR 2014 DIY Quad running APM 3.2 on Pixhawk.

    "DCM Bad Heading," shows up on the HUD and error message is read out audibly as well...

    Total newb here, so any help is much appreciated.

    2014-12-27 09-48-52 18.bin.log

    •    I also got a DCM bad heading in my Mission Planner. It seemed to trigger a sideways movement and a momentary cutoff of the motors when I switched from Stab to POS  (I have been routinely taking of in Position hold mode before now with no problem.)  

      . Being only about 15-20 feet from the ground, it hit a rooftop of a nearby structure and broke a few things

      I have flow a few times with 3.2 without a problem, but this seems to have happened when I switched from Stabilize mode, to Position mode.  at the moment I flipped the switch is when it cut the motors.

      I had 11 satellites and HDOP of - 1.9 

      not good!    I've attached a flash log in case someone can take a look and understand what happened..

      39.log

  • this is happening to me also.

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…