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

    Issues with M9N GPS and Ardupilot

    VOXL 2
    2
    11
    135
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @cguzikowski
      last edited by

      @cguzikowski Yes, we have tested Ardupilot with GPS and have customers using Ardupilot with GPS. However, I don't know that anyone has ever tried with an M9N unit so perhaps there is some issue with that. Can you try with one of these: https://store.3dr.com/mini-gps-ublox-max-m10s/?

      C 1 Reply Last reply Reply Quote 0
      • C
        cguzikowski @Eric Katzfey
        last edited by

        @Eric-Katzfey Thank you for the response, we don't have that GPS and would like to try to get the M9N to work if possible. Is there any troubleshooting we can try before purchasing a new unit? PX4 has a .conf file in /etc/modalai, I don't see one for Ardupilot, could this be an issue? I have also tried to tweak the parameters in the file /data/APM/defaults.parm and also through QGC, but have had no luck.

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

          @cguzikowski No, there is no Ardupilot configuration file needed in /etc/modalai

          C 1 Reply Last reply Reply Quote 0
          • C
            cguzikowski @Eric Katzfey
            last edited by

            @Eric-Katzfey We just got the m10s gps that you linked and are still having some trouble. Again when running px4 the gps works as expected, but running ardupilot seems to cause some issues. Getting the same behavior as the m9n, where running voxl-inspect-gps has no output:
            963eabaf-45fc-4853-b457-8c2ef98cdae7-image.png

            Any ideas on what to try next?

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

              @cguzikowski I just downloaded the latest ArduPilot and loaded it on to my VOXL 2 with m10 GPS unit attached. It comes up and I can see that the GPS_RAW_INT message is being received at QGroundControl. The voxl-inspect-gps application does not print anything though so I'm not sure what's going on with that since it supposedly uses the Mavlink GPS_RAW_INT message to print the values. That will need to be looked into so don't rely on it for anything right now. If you look at QGroundControl Mavlink inspector do you not see the GPS_RAW_INT message coming in?

              C 1 Reply Last reply Reply Quote 0
              • C
                cguzikowski @Eric Katzfey
                last edited by

                @Eric-Katzfey I see the GPS_RAW_INT message come in, but all of the fields are zeroed out and there is no cursor on the map:
                26f5ccaf-5981-4f23-bd1d-47524fb4c41f-image.png

                I tested it with PX4 and I was getting reasonable lat/lon positions along with all of the other data fields being filled out.

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

                  @cguzikowski What else is connected to your VOXL2? Can you disconnect everything else besides the GPS and see if that makes any difference? Are you connected to the standard GPS pins on J19?

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cguzikowski @Eric Katzfey
                    last edited by

                    @Eric-Katzfey I just had m0015 cameras connected to the J6 connected via a m0076 connector, which I have unplugged and the behavior still persists. I also have a 5G Modem Carrier Board connected with a doodle labs radio, can't unplug this though or else there is no connection to QGC. Yes, I am connected to the standard GPS pins on J19 which I believe to be connected properly, as QGC can detect the compass properly. I have tried swapping the TX and RX pin connections, but this resulted in the GPS to not even work with px4. The current configuration works just fine with PX4.

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

                      @cguzikowski Hmmm, this is really odd. I am trying to replicate on my development board but it works fine in both px4 and ardupilot with the m10s unit. Can you update to latest SDK 1.5.0?

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cguzikowski @Eric Katzfey
                        last edited by

                        @Eric-Katzfey Updated to 1.5.0 and the issue still persists - exact same behavior as before. Is it possible I am having an issue with my specific board? Our other board is currently in use but I can probably borrow it if necessary.

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