UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    uNav GPS not working

    Scheduled Pinned Locked Moved Solved Support
    40 Posts 7 Posters 3.6k Views 2 Watching
    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.
      • flohackF Offline
        flohack @Guest
        last edited by

        @jimmypesto Yes Oneplus 1 has a bug that the Android sensor API crashes from time to time, so you wont have any rotation, light, proximity etc sensors working. Very annoying but hard to fix.

        You may want to wait for a few weeks as we are finishing the port for the Android 7.1 base, that might be more stable.

        Regarding GPS, it could be a similar issue, but not sure. GPS is independent from sensors API

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

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

          @flohack You guys are doing awesome. Thanks for the info. Just donated to this project again.

          Do you know the difference of how test_gps gets sensor data to the way apps do? Because I was able to somehow proof that test_gps seems to work.

          flohackF 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Guest
            last edited by

            @jimmypesto
            you're welcome, I do not have an optimal location, hills and mountains , but it works. Put the device outside on a wooden post. The first time takes 10-25min with my devices....
            then 2-3 min ... the better the reception the faster... but if I uNav a few days not use it needs again 10-25min or it finds nothing more, then only helps to reinstall the app ... so I have already installed 4 times LineageOS to see if it works, it always worked fine even over time ( only GPS ) .
            possibly this is also a possibility, had a friend of mine ... https://www.youtube.com/watch?v=CvIiNXf-NKo

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

              @manjushri at least it sounds like a nice location besides hills and mountains πŸ˜‰

              Nice thanks for that info's! I will give it a new try after reinstalling uNav.

              1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack @Guest
                last edited by

                @jimmypesto its fed into Qt location API via a custom Qt module and the platform API which in turn tries to get Androids location API. But that part did not change for a long time, I dont see a reason why test_gps would work, but location wouldnt, tbh. So I am out of ideas ^^

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

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

                  @flohack I see.
                  I will need to setup a fresh system I guess.

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

                    Initially I did a full factory reset on the phone. After installling Pure Maps again it did not Work. It was not even listed in the GPS settings. Also SensorStatus and uNav failed to access GPS.

                    I then decided to install the full system again with the awesome UBports Installer. Initially I wasnt sure how to do so as I found no documentation without running Android on the phone. But it was as easy as expected. I enabled Dev.-Mode from the phones system settings, started the installer and booted into recovery ...

                    I went back to the stable release to be save.
                    SensorStatus does not longer print any errors in the GPS tab. Still none of the other sensor tabs is able to provide data. Also the screen rotation feature is not working. What should I do about this?
                    BUT within less then 10 min. I had a valid GPS position in Pure Maps! Awesome!
                    I will do futher tests in the next days.

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

                      so, I have my 2 devices 3 days ago freshly installed, 1x rc - channel and 1x devel ( wipe, bootstrap and format system part. , with installer 0.8.2-beta ) since then runs uNav on both devices well, the first start about 7-10 minutes then 1-2 minutes and location is detected πŸ™‚ ... hope it stays like this...

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

                        Yes I can confirm again the first fix is done in less then 10 min and afterwards its even faster!
                        A fresh installation after over one year of usage was a good idea.

                        [Edit]:
                        Rotation sensor started to work too. Within SensorStatus and display rotation. Awesome!

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

                          How can I mark this as solved? Sry I am blind...

                          LakotaubpL 1 Reply Last reply Reply Quote 0
                          • LakotaubpL Offline
                            Lakotaubp @Guest
                            last edited by

                            @JimmyPesto Topic Tools (cog wheel, bottom right) ask as question, then mark as solved. Any problems let me know.

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

                              @lakotaubp thx!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post