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

    GPS not acquiring

    Ask your questions right here!
    3
    9
    334
    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.
    • Daniel RyuD
      Daniel Ryu
      last edited by

      Using the m500 ModalAI drone, and I cannot run "mission mode" from QGC because the GPS cannot acquire. As far as I am aware and could find, the PIXhawk 4 GPS module should acquire automatically as long as it is plugged into the Flight core. However, throughout my three hours of testing, the GPS could not acquire, with the corresponding LED light blinking blue (https://docs.px4.io/master/en/getting_started/led_meanings.html)

      I tried unplugging/replugging GPS, resetting drone and QGC, and even sending MAVLink messages to reset the GPS (both cold and hot).

      How can I get the GPS to acquire?

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @Daniel-Ryu ,

        Yes you are correct it should find the satellites after power up (within a minute or two...).

        So this is strange. Are you inside or outside? Inside our office, we have a hard time getting signal occasionally.

        Next, can you validate the GPS_1_CONFIG is default ('GPS1')?

        583cb779-166e-4082-a5ca-bad4e8ff22e3-image.png

        Here's what I see with the same setup on my end as a reference:

        7dc8c0aa-0789-4449-9df1-d2c667110975-image.png

        Thanks!

        1 Reply Last reply Reply Quote 0
        • Daniel RyuD
          Daniel Ryu
          last edited by

          @modaltb,

          This was when I was testing outside. I will check the value of GPS_1_CONFIG and get back to you.

          Thanks for the swift response.

          1 Reply Last reply Reply Quote 0
          • Daniel RyuD
            Daniel Ryu
            last edited by

            @modaltb

            gps_1_config is set to GPS1.

            I will be checking for these errors next. Please advise if there is anything else I should confirm/check

            https://docs.px4.io/v1.9.0/en/flying/pre_flight_checks.html

            1 Reply Last reply Reply Quote 0
            • Daniel RyuD
              Daniel Ryu
              last edited by Daniel Ryu

              @modaltb

              bokeh_plot (1).png bokeh_plot.png

              Does this mean the GPS is faulty? Do I need a new one?

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                Hey Daniel,

                From the GPS logs you posted, it looks like GPS is working. I see that you have a DGPS fix at 4 and 13 satellites.

                Are you using indoor or outdoor parameters? For instance, EKF2_AID_MASK can be set for indoor or outdoor; it's shipped with indoor configuration. This parameter needs GPS set.

                For updating parameters:
                https://docs.modalai.com/upload-px4-parameters/

                https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/tree/master/helpers

                b65c7a61-df0f-4cf4-9101-7d8b4be09a4d-image.png

                3c936736-bacb-43e6-8d6a-e6465a7b071c-image.png

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  Also in the QGC MAVlink console, try gps status and see what comes up.

                  1 Reply Last reply Reply Quote 0
                  • Daniel RyuD
                    Daniel Ryu
                    last edited by

                    Screenshot from 2021-01-18 21-42-53.png

                    1 Reply Last reply Reply Quote 0
                    • Daniel RyuD
                      Daniel Ryu
                      last edited by

                      Resetting the parameters to outdoor mode seemed to have worked! The GPS acquired a signal and I am able to fly in Mission mode. Thank you!

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