diff options
author | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-01-23 00:51:14 +0100 |
---|---|---|
committer | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-01-28 22:26:52 +0100 |
commit | 2c44646f6b574d399dd2d36afa2e88963c7322af (patch) | |
tree | 78c086ecadb673210d43591ce8802fd1f95c1741 /tools/recover.py | |
parent | 26175114ee573caa1774a04157253789d4a93998 (diff) | |
download | trackermap-server-2c44646f6b574d399dd2d36afa2e88963c7322af.tar.gz trackermap-server-2c44646f6b574d399dd2d36afa2e88963c7322af.tar.bz2 trackermap-server-2c44646f6b574d399dd2d36afa2e88963c7322af.zip |
Reset additional parameters of GPS position after geolocation
When geolocation found a lat/lon from LBS/WIFI, only lat/lon and
accuracy are updated.
If protocol has copied "last" position to "Position" class before
issuing the geolocation, then all other parameters of GPS position
will be invalid (from "last" position).
So this fix reset to 0 the altitude, speed, course and rssi.
Diffstat (limited to 'tools/recover.py')
0 files changed, 0 insertions, 0 deletions