Hi all, 
I can't find a good description of how to calibrate your compass and I also have some problems with my compass' readings.

I have a Pixhawk autopilot module and a 3DR uBlox GPS/compass module. Connecting this module is simple (my compass is connected through the I2C splitter so not directly to the Pixhawk). In mission planner I want to set-up my compass so I did the following: 

1. Connect via COM to Pixhawk

2. Go to: 'Initial setup' -> 'Mandatory Hardware' -> 'Compass'. 

3. Choose the option: 'APM with External Compass' AND select 'rotation_none' from the drop down menu next to 'Manual'. I selected 'rotation_none' because my GPS/compass module is upside down and the arrow is pointing in the same direction as the arrow on the Pixhawk, so a belly-to-belly set-up. 

4. Click 'Live Calibration' and turn a bit with the Pixhawk.


But.... when I now check my compass readings in 'Flight Data' I get this very weird result: North is not were North is AND East and West are switched. So if I turn 90degrees clockwise starting from North my compass says he is looking to the West... 


Note: how do you know if the new settings "external compass" have been saved? Because when I open the compass tab a second time the checkbox is at 'Manual' again and not 'External'

Also, I've read that if you connect the uBlox module to Pixhawk, the internal compass is automatically turned off, although I have a fealing that both are turned on, because if you turn (yawing) either of the two modules seperately the measured heading in mission planner changes.

Can anyone help me?

Note to webdesigners: Is it possible to make a new category with 'Compass'? 

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

Join diydrones

Email me when people reply –

Replies

  • Admin

    @Menno,

    If you are using the GPS/Compass module with a Pixhawk, why are you selecting "AMP with External Compass"?

    You should be selecting the Pixhawk/PX4 option at the top of the selection list.

    Regards,

    TCIII ArduRover2 Developer 

    • Because that option shows a picture of the uBlox GPS/compass module that I'm using. And because my compass is external.... Should I select Pixhawk/PX4 then? But how does mission planner then know that I also have an external compass connected to the I2C port on the Pixhawk?

      • Admin

        @Menno,

        You have a Pixhawk. Read these Wiki instructions for the Pixhawk: GPS/Compass

        Select the Pixhawk/PX4 option for the compass setup.

        Regards,

        TCIII ArduRover2 Developer

        • Also - after calibration should I be able to check the aircraft with a compass to verify that the direction it is setting is the actual direction it is pointing on the mission planner?
        • Guys I need clarification here. So I am setting up a plane with a Pixhawk a and external compass. So I select the "pixhawk/Px4?" Seams strange there is a photo of an external 3DR compass but that is not what we should select?
        • I followed the instructions.. but the compass gives bad readings. I'll put a picture below of how the compass is mounted (the arrows of both the pixhawk and ublox are pointing to the left). Since the ublox is upside down here (and the compass is upside down in the ublox) I should select "rotation none" right?
          3702748731?profile=original3702748746?profile=originalPS, I clicked "yes" when mission planner asked "FW version greater than APM:copter 3.01"?
          The picture below shows my selections before I click "Live Calibration" to configure the compass:

          3702748931?profile=original

          • Admin

            @Menno,

            Is it necessary to have the GPS/Compass attached to the bottom of the Pixhawk?

            I do not recommend that configuration.

            Mount the GPS/Compass so that it is right side up and facing the same direction as the Pixhawk arrow.

            Regards,

            TCIII ArduRover2 Developer

            • It's not necessary and I don't know yet how it will be in the final set up, but this is easy if you want keep both modules parallel during the configuration.... But no matter how they are mounted in the end, the compass should work, but it doesn't

              • Moderator

                That's the GPS orientation for those of us in the Southern Hemisphere Thomas.

                • Is this a joke, or is there hemispheric dependence? Note that I'm talking about the compass (not GPS).

This reply was deleted.

Activity

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
yesterday
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
yesterday
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Friday
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Thursday
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
DIY Robocars via Twitter
Aug 24
DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
More…