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

    GPS Issue | GPS blinks red and no data

    Software Development
    3
    10
    337
    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.
    • Q
      qpvtltd
      last edited by

      Hi Team, we are having a new weird issue. We attached a M8N GPS to the 12 Pin J19 port. We are also attaching a ELRS receiver in the same port. The wiring is correct. Everything is powered up well.

      The issue is when we start up our drone we do not get any GPS data, the GPS blinks red. The solution I found was that I need to manually stop the GPS in the mavlink shell and then restart it with baudrate set to 115200. I had to do these steps everytime I power up my drone.

      I am not able to configure these steps in the voxl-px4.conf file. When I add these steps in the voxl-px4.conf, the GPS and the ESC refuses to run.

      I am able to work it manually but i dont know how to automate it.

      The commands i used were "qshell gps stop" " qshell gps start -b 115200"

      Please help.

      tomT Eric KatzfeyE 2 Replies Last reply Reply Quote 0
      • tomT
        tom admin @qpvtltd
        last edited by

        @qpvtltd What SDK do you have loaded? You can check this with voxl-version

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

          @qpvtltd You can edit the file /usr/bin/voxl-px4-start to change the gps start line and add the baudrate

          Q 2 Replies Last reply Reply Quote 0
          • Q
            qpvtltd @tom
            last edited by

            @tom HW version is M0054 and voxl-suite is 1.1.2

            1 Reply Last reply Reply Quote 0
            • Q
              qpvtltd @Eric Katzfey
              last edited by

              @Eric-Katzfey its is working now but it does not work when i add "-b 115200"...i removed it, so basically rolling back to the initial lines and now its working

              1 Reply Last reply Reply Quote 0
              • Q
                qpvtltd @Eric Katzfey
                last edited by

                @Eric-Katzfey it stopped working again. I had to manually restart the GPS from the mavlink shell. Help please.

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

                  @qpvtltd What happens if you specify a different baud rate like -b 9600, -b 57600 or -b 38400?

                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    qpvtltd @Eric Katzfey
                    last edited by

                    @Eric-Katzfey no. not working. GPS HDOP VDOP not showing. No data.

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

                      @qpvtltd You can add to the end of /usr/bin/voxl-px4-start. So, at the end of that file add something like qshell gps stop, /bin/sleep 1, and qshell gps start. Does that work?

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        qpvtltd @Eric Katzfey
                        last edited by

                        @Eric-Katzfey it is kind of working now using the default config file. still not able to figure out what was the actual issue. Thanks anyways.

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