ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Disable GPS and compass

    Starling & Starling 2
    3
    4
    1368
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hunter ScottH
      Hunter Scott
      last edited by

      I tried unplugging the GPS module but got an error in qgroundcontrol that the compass is missing. Looks like there's one on the GPS board. What parameters do I need to change in qgc to disable GPS and the compass so I can arm and fly with the GPS module unplugged?

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @Hunter Scott
        last edited by

        @Hunter-Scott , please try setting the following PX4 params to disable magnetometer :

        • SYS_HAS_MAG to 0
        • EKF2_MAG_TYPE to 5
        Hunter ScottH 1 Reply Last reply Reply Quote 0
        • Hunter ScottH
          Hunter Scott @Alex Kushleyev
          last edited by

          Thanks, this worked!

          K 1 Reply Last reply Reply Quote 0
          • Alex KushleyevA Alex Kushleyev referenced this topic on
          • K
            kailyGen @Hunter Scott
            last edited by

            Good tip. For anyone testing without the GPS module attached, setting SYS_HAS_MAG=0 and EKF2_MAG_TYPE=5 seems to be the key part since the compass is on the GPS board. I was also looking at some compass-related references on 123compass.org while trying to understand the magnetometer side of it.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors