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 @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
yesterday
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…
Sunday
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Sunday
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Sunday
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Sunday
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…
Sunday
DIY Robocars via Twitter
RT @DAVGtech: https://t.co/GwkbSBjdGa
Saturday
DIY Robocars via Twitter
RT @DAVGtech: Good morning from @IndyAChallenge at @IMS. It was a late night, but worth it. Come see for yourself how the pass ended and ch…
Saturday
DIY Robocars via Twitter
RT @circuitlaunch: Robot fun this Saturday (23) at Circuit Launch! From 10am to 4pm. Lots of robots, autonomous car racing training, tech t…
Friday
DIY Robocars via Twitter
RT @chr1sa: 10 of these autonomous racecars will be competing tomorrow at the Indianapolis raceway
Friday
DIY Robocars via Twitter
RT @a1k0n: Sync'd @joshu's GoPro w/ my datalogging; video is 2.5X speed, Google imagery upper-right. Found out my track boundaries are WAY…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Also, at 45mph, the front tires literally blow up like a balloon and it doesn't have much front traction, so the car becomes fai…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Okay, some datalogs! Green dots are precalculated racing line (from my crummy optimizer -- it veers to the middle after 2 for Re…
Oct 18
DIY Robocars via Twitter
RT @a1k0n: Welp my @selfracingcars entry, hastily conceived heading filter and all, actually worked! Heading home, datalogs and videos to f…
Oct 18
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
Oct 15
More…