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

    Mag Not Getting Detected on VOXL2 (sdk 1.0.0)

    VOXL 2
    2
    4
    301
    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.
    • John Nomikos 0J
      John Nomikos 0
      last edited by

      Good afternoon,

      I've been having an issue where the mag is not being detected on the GPS + MAG module I have connected to a VOXL2.

      The GPS is a MATEK NEO-M9N and the mag is an IST8308.

      I tried changing the settings in voxl-px4.conf to HOLYBRO. That did not fix the problem.

      Whenever I am on QGC with SYS_HAS_MAG set to 1, it will give me the warning "Compass sensor 0 is missing". Attempts to calibrate the mag fail.

      Entering the command,

      qshell ist8310 start -R 10 -X -b 1
      

      gives this output:

      060482d5-b111-43a4-8125-7d78624e593c-image.png

      This gives the same output regardless if the gps module in voxl-px4.conf is set to HOLYBRO, MATEK or NONE

      Also checking the status of ist8310 gives this output:

      416653e9-e339-441e-817f-eb2709d32f00-image.png

      I've tried this with two separate GPS+MAG boards.

      This is the specific model:
      mRo GPS u-Blox Neo-M9N – IST8308
      https://mrobotics.io/docs/mro-gps-u-blox-neo-m9n-ist8308-ultra-robust/

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @John Nomikos 0
        last edited by Eric Katzfey

        @John-Nomikos-0 Yes, the ist8310 magnetometer driver does not work with the ist8308 magnetometer. The ist8308 magnetometer driver needs to be added to the build and started instead of the ist8310 driver. The newest px4 release has the ist8308 magnetometer driver built in so it's just a matter of switching to that and then modifying the start line in voxl-px4-start to specify ist8308 instead of ist8310. The newest release is here: http://voxl-packages.modalai.com/dists/qrb5165/staging/binary-arm64/voxl-px4_1.14.0-2.0.43_arm64.deb

        John Nomikos 0J 2 Replies Last reply Reply Quote 1
        • John Nomikos 0J
          John Nomikos 0 @Eric Katzfey
          last edited by

          @Eric-Katzfey Thank you so much for the help! Going to do that right now

          1 Reply Last reply Reply Quote 0
          • John Nomikos 0J
            John Nomikos 0 @Eric Katzfey
            last edited by

            @Eric-Katzfey I did what you suggested and it works! Thank you again!

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