AHRS_ORIENTATION and COMPASS_ORIENT

Hi there,

I have the APM 2.5 with compass on board mounted at yaw270 using Board Orientation (AHRS_ORIENTATION) but haven't touched the Compass orientation (COMPASS_ORIENT). 

Should COMPASS_ORIENT also be orientated? or is this just for APM 2.6 when the board and compass can be facing different ways? This isn't clear in the wiki.

As yet I've only been flying stabilisation and FBW-A which I'm guessing don't worry about the compass and have read in the 2.73 thread of some people having trouble unless they disabled their compass.

Prefer to know the answer rather than work it out in the air :)

Cheers,

Alex.

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

Join diydrones

Email me when people reply –

Replies

  • Did you solve that problem? I want to do the same.
    Zidlov said:

    Didn't want to open a new thread. Hopefully someone still reads it anyway...:)

    Is there a possibility to set a custom AHRS_Orientation value?

    For example, 12 degree pitch forward...Would like to tilt my motors for better forward flight capability but 45 degrees is a bit steep for that. :D

    AHRS_ORIENTATION and COMPASS_ORIENT
    Hi there, I have the APM 2.5 with compass on board mounted at yaw270 using Board Orientation (AHRS_ORIENTATION) but haven't touched the Compass orie…
  • Did you ever find a solution to this? 

    • Nevermind, solved it. compass orient has to be adjusted and it solved it.

      • Didn't want to open a new thread. Hopefully someone still reads it anyway...:)

        Is there a possibility to set a custom AHRS_Orientation value?

        For example, 12 degree pitch forward...Would like to tilt my motors for better forward flight capability but 45 degrees is a bit steep for that. :D

  • Developer

    Oh, and you could double check by looking at the raw x, y and z values coming out of the compass.  They're called mag_x, mag_y and mag_z and are visible from the mission planner's Flight Data screen's Status tab that is just below the HUD.  when you point the board north, I believe you will see a big Z, big X and zero Y value...i think.

  • Developer

    I'm not 100% sure but I don't think you need to change the compass orientation.  Changing the board orientation will handle that.

    As you say, I believe the compass-orient is only there for people who want to disable the onboard compass and use an external compass.

This reply was deleted.

Activity

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
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
More…