S
S
sitev_ru2015-09-08 10:13:42
satellite navigation
sitev_ru, 2015-09-08 10:13:42

Is it possible to improve the performance of GPS programmatically?

I have an Android cell phone. I'm testing my GPS location program on it. Sometimes it works, to put it mildly, strangely.
For example, I turned off the phone or disabled GPS in the phone settings. After a while I turn on the phone and / or GPS. However, the phone shows the old location. Moreover, this is not only in my program, but on Google maps or 2GIS.
GPS starts to work itself, only if you walk around with the phone on)), otherwise it shows the old location.
Is it possible in my program to set some kind of GPS zeroing so that the phone is reinitialized and gives out the true location?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Artem Voronov, 2015-09-08
@newross

The initialization of the GPS takes time, which depends on the conditions of reception of the signal from the satellites. On average, this is from 15 seconds to 1.5 minutes. Until the end of initialization, the last location may be displayed.

A
Antony, 2015-09-08
@RiseOfDeath

According to the NMEA standard, the GPS cold start time is up to 12 (or 15, I don’t remember exactly) minutes, which is the minimum required to get almonach and ephemeris from satellites (if you already have them from a previous start or downloaded from the Internet, then the start will be faster, in depending on their relevance). After that, the banal reception of "coordinates" actually already works.
Regarding walking around the room, you should consider a few points:
1. Indoors, GPS usually does not catch, at best, several satellites are visible (and at least 4 satellites are needed for at least some positioning in three-dimensional space), and this is the main reason in your case.
2. Even if the satellites are visible, it takes time to get the information of the basic information for calculations (the above mentioned ephemeris and almonac). And the less often you turn on the GPS, the longer the start will be, due to the obsolescence of the above information.
The reason for reinitialization is to turn off the power of the phone.
In general, in NMEA (and, I'm sure, in the Android API too) there is a sign of the reliability of the coordinates, which should be checked.

M
mib, 2015-09-08
@mib

I highly recommend that on any device with GPS (android, iphone, it doesn’t matter) synchronize the exact time (via the Internet). The more accurate the clock on the device is, the faster and more accurate even the "cold start" of GPS is

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question