ArduCopterNG Beta2 - Compass Offsets

Everything works fine until I get to the compass offsets. It displays scrolling data but everything is zero and never changes as I move the quad. I did run the CLI "a" command and made sure that the mag was activated.

 

Any Ideas what to check?

 

This Quad was flying fine with the RC_1 release, this happened when I upgraded to NG.I know that Rc_1 didn't use the compass.

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    For people who want to see how offset calibration is done, I posted video how to do it and how to configure your magneto orientations.

     

    Check out http://diydrones.com/forum/topics/video-arducopter-magnetometer

  • Same problem here. I have a MAG just bough from DIY drones.

    I soldered it on the shield being very carefull and everything was working even though I always had different offsets.

    So I mounted the IMU on the copter and I never had the yaw still, so I went back to the CLI and never had numbers again only 0s...

    I have no idea how to check if it is a board problem or a Mag problem, and since is my second one (the first i broke the 3.3v while cutting the borders) I wouldn't like to buy another.

    Any Ideas on how to check it is really the mag (i.e. with rs232, avr programmer etc.)?

     

    Thnaks,

    Emile

  • @ Doug & Robert,

     

    All the soldering looks ok under the microscope.

    There is a possibility that the i2c bus not functioning properly.

    Is there anyway to test the i2c?

     

    Regards, Michel 

  • Hi Doug and Robert,

     

    Make it three people.

    Like you I get also only zeros with the CLI.

    Tommorow I will take a closer look under a microscope.

     

    Keep you posted.

     

    Regard, Michel

  • Well I found the problem, sort of. I put CLI in Compass Offsets and it started displaying 0's. Then I pushed on each of the components on the board individually and found that I started getting data when I pushed on the small square chip closest to the pins. The problem seems to be a bad solder joint on the board itself. Now I'll see if I can identify the exact joint and fix it.

    Doug

  • I'm at the exact same point in the process and I'm having the exact same problem. (I'm using the DIY magnetometer with #define MAGORIENTATION  AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD)

     

     

  • Developer

    You can test your maggy too by opening example sketch from Arduino IDE. Just look under examples AP_Compass and AP_Compass_test

  • 3D Robotics
    Sounds like the magnetometer isn't connected right. How are connecting it?

    (I'm assuming you have a magnetometer--they don't come with the base ArduCopter or APM)
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…