eusonlito / GPS-Tracker

GPS Tracker platform for Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd and Queclink devices built with Laravel 11 + PHP 8.2 and MySQL 8. Plataforma GPS Tracker para dispositivos Sinotrack Sinotrack, Coban, Teltonika, Concox, Jimilab, OsmAnd y Queclink creada con Laravel 11 + PHP 8.2 y MySQL 8.
https://tracker-demo.lito.com.es/
MIT License
137 stars 62 forks source link

location jump during driving #40

Closed sajjadintel closed 5 months ago

sajjadintel commented 5 months ago

Hi, There's a problem when I come out of the parking, GPS hasn't locked yet and there's some wired location jumps. Is it possible to ignore locations that are not logical? for example car speed is 0 but next location is far from the previous one. Thanks.

https://tracker.lito.com.es/trip/1842/map (I think in this one car went into the parking and came out.) telegram-cloud-photo-size-4-5884027946694459841-y

https://tracker.lito.com.es/?trip_id=1850 I found a location jump when I was driving. do you have any idea why this has happened and is it possible to fix it? (Could it be cloud and snowing?) image

eusonlito commented 5 months ago

The "problem" is that the device is reporting those positions as valid, so it is not possible to avoid those jumps.

I have configured the platform to accept only positions marked as valid, and with a minimum displacement of 10 meters (default is 5), so if the device indicates that they are correct, the system has no way of knowing if they really are.

These are the device sends every 10 seconds of correct positions:

image

sajjadintel commented 5 months ago

Can't we detect jumps by car speed and distance between locations and don't register these items?

eusonlito commented 5 months ago

It's not easy, since the device sends records every 10 seconds, and in those 10 seconds there can be movement.

Second 00 - Speed = 0 - Report to Platform. Second 01 - Speed = 05 (movement). Second 02 - Speed = 20 (movement). Second 03 - Speed = 40 (movement). Second 04 - Speed = 50 (movement). Second 05 - Speed = 70 (movement). Second 06 - Speed = 80 (movement). Second 07 - Speed = 40 (movement). Second 08 - Speed = 20 (movement). Second 09 - Speed = 10 (movement). Second 10 - Speed = 0 - Report to Platform.

Right now the platform is filtering locations by distance and valid signal (indicating that the location generated by the device is correct and not an offline cache), but there is little more that can be done.

eusonlito commented 5 months ago

Solved?

sajjadintel commented 5 months ago

Yeah, Thank you.