Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2 Mini
  4. Lumenier RID & M10Q GPS Module compatibility

Lumenier RID & M10Q GPS Module compatibility

Scheduled Pinned Locked Moved VOXL 2 Mini
21 Posts 3 Posters 3.9k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    psafi
    wrote on last edited by
    #10

    @Eric-Katzfey I am Alex's co-worker and helping with the building the magnetometer's driver into PX4.

    I am following instructions outlined here: https://gitlab.com/voxl-public/rb5-flight/rb5-flight-px4-build-docker#install-qualcomm-package-manager

    I am having hard time downloading the hexagon SDK from qualcomm. I see v3.1 is available on your website. Am I going to need 4.X or I can use 3.1

    Eric KatzfeyE 1 Reply Last reply
    0
    • P psafi

      @Eric-Katzfey I am Alex's co-worker and helping with the building the magnetometer's driver into PX4.

      I am following instructions outlined here: https://gitlab.com/voxl-public/rb5-flight/rb5-flight-px4-build-docker#install-qualcomm-package-manager

      I am having hard time downloading the hexagon SDK from qualcomm. I see v3.1 is available on your website. Am I going to need 4.X or I can use 3.1

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #11

      @psafi Yes, unfortunately it is a real pain to get the SDK from Qualcomm and you need that version.

      P 1 Reply Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @Alex-May The driver for that magnetometer has not been built into the image so it won't work without adding that driver. As for GPS it seems like it isn't communicating with the receiver. Can you run this experiment: Stop PX4 with systemctl stop voxl-px4, wait a couple of seconds, then start px4 from the command line with voxl-px4 -d and post the output from that?

        P Offline
        P Offline
        psafi
        wrote on last edited by
        #12
        This post is deleted!
        1 Reply Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @psafi Yes, unfortunately it is a real pain to get the SDK from Qualcomm and you need that version.

          P Offline
          P Offline
          psafi
          wrote on last edited by
          #13

          @Eric-Katzfey I am able to build voxl-px4 now.

          I am following instructions outlined here to add this magnetometer:
          https://forum.modalai.com/post/16770

          I am adding following line:

          CONFIG_DRIVERS_MAGNETOMETER_LIS3MDL=y
          

          to this file:
          https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/default.px4board

          when I attempt to build px4 I get the following error from the driver module:
          e58ba536-27d6-45cd-9d25-2a67e6f48462-image.png

          Eric KatzfeyE 2 Replies Last reply
          0
          • P psafi

            @Eric-Katzfey I am able to build voxl-px4 now.

            I am following instructions outlined here to add this magnetometer:
            https://forum.modalai.com/post/16770

            I am adding following line:

            CONFIG_DRIVERS_MAGNETOMETER_LIS3MDL=y
            

            to this file:
            https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/default.px4board

            when I attempt to build px4 I get the following error from the driver module:
            e58ba536-27d6-45cd-9d25-2a67e6f48462-image.png

            Eric KatzfeyE Offline
            Eric KatzfeyE Offline
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #14

            @psafi Looks like it will compile if you comment out the #include <debug.h> lines in both lis3mdl_i2c.cpp and lis3mdl_spi.cpp

            P 1 Reply Last reply
            0
            • P psafi

              @Eric-Katzfey I am able to build voxl-px4 now.

              I am following instructions outlined here to add this magnetometer:
              https://forum.modalai.com/post/16770

              I am adding following line:

              CONFIG_DRIVERS_MAGNETOMETER_LIS3MDL=y
              

              to this file:
              https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/default.px4board

              when I attempt to build px4 I get the following error from the driver module:
              e58ba536-27d6-45cd-9d25-2a67e6f48462-image.png

              Eric KatzfeyE Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #15

              @psafi Those should only be there on the Nuttx platform.

              1 Reply Last reply
              0
              • Eric KatzfeyE Eric Katzfey

                @psafi Looks like it will compile if you comment out the #include <debug.h> lines in both lis3mdl_i2c.cpp and lis3mdl_spi.cpp

                P Offline
                P Offline
                psafi
                wrote on last edited by
                #16

                @Eric-Katzfey I did that and was able to build and install new px4. Thank you!

                Sill not detecting lis3mdl module on the px4 side.

                I tried adding the following to /usr/bin/voxl-px4-start

                qshell lis3mdl start -R 10 -X -b 1
                

                but I think that causes px4 service fail to start. Not sure if that means the module has not been successfully added to voxl-px4 or some other issue.

                Are there any steps I need to take besides adding sensor name to default.px4board file?

                Eric KatzfeyE 3 Replies Last reply
                0
                • P psafi

                  @Eric-Katzfey I did that and was able to build and install new px4. Thank you!

                  Sill not detecting lis3mdl module on the px4 side.

                  I tried adding the following to /usr/bin/voxl-px4-start

                  qshell lis3mdl start -R 10 -X -b 1
                  

                  but I think that causes px4 service fail to start. Not sure if that means the module has not been successfully added to voxl-px4 or some other issue.

                  Are there any steps I need to take besides adding sensor name to default.px4board file?

                  Eric KatzfeyE Offline
                  Eric KatzfeyE Offline
                  Eric Katzfey
                  ModalAI Team
                  wrote on last edited by
                  #17

                  @psafi If you disable the px4 service (systemctl stop voxl-px4) and then start it from the command line (voxl-px4 -d) what output do you get? And if you disconnect the magnetometer from the system how does that change things? Remove the start command from voxl-px4-start and enter it after px4 starts from the command prompt to see what happens.

                  P 1 Reply Last reply
                  0
                  • P psafi

                    @Eric-Katzfey I did that and was able to build and install new px4. Thank you!

                    Sill not detecting lis3mdl module on the px4 side.

                    I tried adding the following to /usr/bin/voxl-px4-start

                    qshell lis3mdl start -R 10 -X -b 1
                    

                    but I think that causes px4 service fail to start. Not sure if that means the module has not been successfully added to voxl-px4 or some other issue.

                    Are there any steps I need to take besides adding sensor name to default.px4board file?

                    Eric KatzfeyE Offline
                    Eric KatzfeyE Offline
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #18

                    @psafi And how did you load your updated build to the VOXL 2?

                    P 1 Reply Last reply
                    0
                    • P psafi

                      @Eric-Katzfey I did that and was able to build and install new px4. Thank you!

                      Sill not detecting lis3mdl module on the px4 side.

                      I tried adding the following to /usr/bin/voxl-px4-start

                      qshell lis3mdl start -R 10 -X -b 1
                      

                      but I think that causes px4 service fail to start. Not sure if that means the module has not been successfully added to voxl-px4 or some other issue.

                      Are there any steps I need to take besides adding sensor name to default.px4board file?

                      Eric KatzfeyE Offline
                      Eric KatzfeyE Offline
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #19

                      @psafi I just built voxl-px4 with the lis3mdl driver and when I run it the command fails because it fails the probe (I don't have that magnetometer) but otherwise runs normally.

                      1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        @psafi And how did you load your updated build to the VOXL 2?

                        P Offline
                        P Offline
                        psafi
                        wrote on last edited by
                        #20

                        @Eric-Katzfey by installing debian package and I got output similar to this after installation:
                        https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4#deployment

                        1 Reply Last reply
                        0
                        • Eric KatzfeyE Eric Katzfey

                          @psafi If you disable the px4 service (systemctl stop voxl-px4) and then start it from the command line (voxl-px4 -d) what output do you get? And if you disconnect the magnetometer from the system how does that change things? Remove the start command from voxl-px4-start and enter it after px4 starts from the command prompt to see what happens.

                          P Offline
                          P Offline
                          psafi
                          wrote on last edited by
                          #21

                          @Eric-Katzfey I did the systemctl stop and started service again. I guess rebooting the board earlier did not have the same effect. The compass calibration in Q is working now (no more "no mag found" error) which I guess it means the mag is working now and our gps is working too.

                          here is the output of voxl-p4 -d by the way:

                          INFO  [qshell] Send cmd: 'lis3mdl start -R 10 -X -b 1'
                          INFO  [muorb] [uORB] Marking DeviceNode(qshell_req) as advertised in process_remote_topic
                          INFO  [muorb] [qshell] qshell gotten: lis3mdl start -R 10 -X -b 1
                          INFO  [muorb] [qshell]   arg0 = 'lis3mdl'
                          INFO  [muorb] [qshell]   arg1 = 'start'
                          INFO  [muorb] [qshell]   arg2 = '-R'
                          INFO  [muorb] [qshell]   arg3 = '10'
                          INFO  [muorb] [qshell]   arg4 = '-X'
                          INFO  [muorb] [qshell]   arg5 = '-b'
                          INFO  [muorb] [qshell]   arg6 = '1'
                          INFO  [muorb] [drivers__device] *** I2C Device ID 0x51e09 335369
                          INFO  [muorb] [drivers__device] Set up I2C bus mutex for bus 1
                          INFO  [muorb] lis3mdl #0 on I2C bus 1
                          INFO  [muorb]  (external)
                          INFO  [muorb]  address 0x1E
                          INFO  [muorb]  rotation 10
                          INFO  [muorb] 
                          
                          INFO  [muorb] [qshell] Ok executing command: lis3mdl start -R 10 -X -b 1
                          
                          
                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          ModalAI
                          Categories Recent Tags ModalAI.com Docs
                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups