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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. GPS Issue | GPS blinks red and no data

GPS Issue | GPS blinks red and no data

Scheduled Pinned Locked Moved Software Development
10 Posts 3 Posters 1.3k Views 2 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.
  • Q Offline
    Q Offline
    qpvtltd
    wrote on last edited by
    #1

    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
    0
    • Q qpvtltd

      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 Online
      tomT Online
      tom
      admin
      wrote on last edited by
      #2

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

      Q 1 Reply Last reply
      0
      • Q qpvtltd

        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.

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

        @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
        0
        • tomT tom

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

          Q Offline
          Q Offline
          qpvtltd
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

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

            Q Offline
            Q Offline
            qpvtltd
            wrote on last edited by
            #5

            @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
            0
            • Eric KatzfeyE Eric Katzfey

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

              Q Offline
              Q Offline
              qpvtltd
              wrote on last edited by
              #6

              @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
              0
              • Q qpvtltd

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

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

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

                Q 1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

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

                  Q Offline
                  Q Offline
                  qpvtltd
                  wrote on last edited by
                  #8

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

                  Eric KatzfeyE 1 Reply Last reply
                  0
                  • Q qpvtltd

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

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

                    @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
                    0
                    • Eric KatzfeyE Eric Katzfey

                      @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 Offline
                      Q Offline
                      qpvtltd
                      wrote on last edited by
                      #10

                      @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
                      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