• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • ? Offline
      A Former User
      last edited by 29 May 2020, 12:13

      @AppLee Yea you right, first localization is slow. After this GPS is okay.
      What exactly do you mean by "first fix". So after each reboot or power on the phone has to relocate itself for the first time? What about turning GPS off/on in the settings?
      Thanks for clarification, I'm using Photon as well, and its suggestions are reasonable.

      @Lakotaubp with GPS always enabled and the phone was powered on for some time I guess? 20s sounds great.

      A 1 Reply Last reply 29 May 2020, 12:17 Reply Quote 0
      • A Offline
        AppLee @Guest
        last edited by 29 May 2020, 12:17

        @JimmyPesto
        What we call GPS fix is the time for a GPS chip to catch enough GPS satellite signals to determine its location.
        The first fix is the first time your phone is able to localize itself.

        In fact I don't know if turning off the GPS using the settings will have the same effect as turning off the phone ; maybe.
        I rarely turn it off because it doesn't use so much power...

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User 29 May 2020, 12:20

          I'm used to this from using Android. It gives you the feeling of having control of your data. haha
          Maybe I should just keep it enabled all the time.
          Thanks for your quick feedback. πŸ˜‰

          A 1 Reply Last reply 29 May 2020, 12:31 Reply Quote 0
          • A Offline
            AppLee @Guest
            last edited by 29 May 2020, 12:31

            @JimmyPesto
            On android I don't trust the OS with my location.

            But UT doesn't use this information when you don't need it and GPS being passive it's not a threat for me.

            ? 1 Reply Last reply 29 May 2020, 12:33 Reply Quote 0
            • ? Offline
              A Former User @AppLee
              last edited by 29 May 2020, 12:33

              @AppLee this is why I said it "gives you the feeling of". πŸ˜‰
              Yea I'm going to keep it enabled. Thanks for your support.

              1 Reply Last reply Reply Quote 1
              • ? Offline
                A Former User
                last edited by 20 Dec 2020, 17:29

                After some time I am still in love with this wonderful OS. It has even got better and better since the last updates and newest apps.
                I have GPS enabled ever since @AppLee told me to.
                But only a couple of times GPS worked and I was able to navigate using the phone. Since the last months I was not even able to get my position a single time. This is really frustrating as it is the only thing left from enabling me to use this system only without any Android backup phone..
                I can lay the phone outside on a table for 20 mins or take a walk for 20 min but I get no GPS position in neither on of the apps available. It would be awesome to find a way so that I could rely on navigation. When I travel and need to find certain place I can not wait for 30 minutes until GPS is working...
                Running test_gps is printing a lot of information continuously but I do not understand it. Should I post the output here?

                Thanks for your support.

                Greetings,

                Jimmy Pesto

                F ? 2 Replies Last reply 20 Dec 2020, 18:02 Reply Quote 0
                • F Offline
                  flohack @Guest
                  last edited by 20 Dec 2020, 18:02

                  @jimmypesto said in uNav GPS not working:

                  orked and I was able to navigate using the phone. Since the last months I was not even able to get my position a single time. This is really frustrating as it is the only thing left from enabling me to use this system only without any Android backup phone..

                  No please dont post the output. You can check there if it prints a valid longitude/latitude after some time.

                  Is your device second-hand? Some devices loose goot contact with the GPS antenna over time, this might need to be readjusted. Ubuntu Touch cannot do much about it, we take the GPS coordinates from the Android service. So its probably a problem with your hardware, sorry too say.

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

                  ? 1 Reply Last reply 21 Dec 2020, 12:25 Reply Quote 0
                  • ? Offline
                    A Former User @flohack
                    last edited by 21 Dec 2020, 12:25

                    @flohack Thanks for you kind answer, but how should I know what valid/invalid data looks like?

                    Whats the difference between *** location callback and ***nmea info?
                    The *** location callback provides a latitude, magnitude and an accuracy of 10.000.
                    Its prints some coordinates. Sometimes the nmea (nr): rows have some empty fields ,, but not always.

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Guest
                      last edited by A Former User 22 Dec 2020, 08:19

                      @jimmypesto
                      with my 2 N5 it is exactly the same... if I install LineageOS ( https://sourceforge.net/projects/hammerhead-lineageos/files/17.1/ ) both work fine ( only with GPS ) ...

                      ( with Ubuntu ) if it has found the location it goes faster afterwards. But when you restart the device, the whole procedure starts again...

                      Best regards

                      ? 1 Reply Last reply 23 Dec 2020, 13:12 Reply Quote 0
                      • ? Offline
                        A Former User @Guest
                        last edited by 23 Dec 2020, 13:12

                        @manjushri thanks for your feedback. πŸ˜‰

                        May I ask how long it takes to initially get your location on these devices and where/how you place them to find it?

                        ? 1 Reply Last reply 23 Dec 2020, 20:49 Reply Quote 0
                        • ? Offline
                          A Former User
                          last edited by A Former User 23 Dec 2020, 13:15

                          Are there devices that are known to have a quicker GPS localization?

                          I love this OS so much and it would be awesome to find a solution I could rely on. Thanks for your help.

                          Edit:

                          I was able to run test_gps and see changes in my position while walking outside in less then 5 min.

                          I start to feel like I have a different problem with my OP1. I do not know if they are related but to sum up:

                          • rotation does not spin the display (even though lock is disabled) which worked before
                          • SensorStatus App is not able to access any of the sensors available on my device, some worked before
                          F 1 Reply Last reply 23 Dec 2020, 14:51 Reply Quote 0
                          • F Offline
                            flohack @Guest
                            last edited by 23 Dec 2020, 14:51

                            @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 23 Dec 2020, 15:13 Reply Quote 0
                            • ? Offline
                              A Former User @flohack
                              last edited by 23 Dec 2020, 15:13

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

                              F 1 Reply Last reply 23 Dec 2020, 23:13 Reply Quote 0
                              • ? Offline
                                A Former User @Guest
                                last edited by 23 Dec 2020, 20:49

                                @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 23 Dec 2020, 22:28 Reply Quote 0
                                • ? Offline
                                  A Former User @Guest
                                  last edited by 23 Dec 2020, 22:28

                                  @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
                                  • F Offline
                                    flohack @Guest
                                    last edited by 23 Dec 2020, 23:13

                                    @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 26 Dec 2020, 11:38 Reply Quote 0
                                    • ? Offline
                                      A Former User @flohack
                                      last edited by 26 Dec 2020, 11:38

                                      @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 26 Dec 2020, 21:38

                                        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 26 Dec 2020, 23:05

                                          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 27 Dec 2020, 13:21

                                            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
                                            • First post
                                              Last post