bailuk / AAT

Another Activity Tracker for Android
https://bailu.ch/aat
GNU General Public License v3.0
156 stars 41 forks source link

Wrong tracked activity when GPS signal is lost #39

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello, I am using your application to track my running sessions and I noticed that if the GPS signal gets lost during the session (e.g going in a tunnel), the tracked activity is wrongly recorded. AAT seems to only record the time passed when the GPS signal was lost and with an erratic path. Is there a fix for this ?

bailuk commented 5 years ago

Hi,

What exactly is wrong or missing in your recorded track? How does total time and average time differ from reality? Are there any other track segments missing or wrong (besides the tunnel part)?

In the preferences you can set the accuracy filter to a low value. This way only GPS information with a certain precision gets recorded.

ghost commented 5 years ago

It only records the tunnel part in a erratic way and discards the rest of the track. It means that if I passes through a tunnel, I loose everything except the few seconds I am in the tunnel. The total time is also only the time spent in the tunnel. I will try the accuracy filter to see if it mitigates the problem

bailuk commented 5 years ago

Now that's a strange bug. I've never seen this before.

What filter options do you have enabled? (Such as distance filter, auto-pause etc)

If you open the recorded GPX file in a simple text editor everything should be present including the part before and after the tunnel. Maybe you'll find a possible cause for this bug this way...

If you want you can also send me a broken GPX track by e-mail. That would help me a lot.

ghost commented 5 years ago

I am using vanilla AAT without any filter. I sent you a broken GPX, I hope it will help solve the bug

bailuk commented 5 years ago

The GPX file you have sent me has no errors. The tracker really only recorded the tunnel part.

It looks like AAT does not receive precise GPS signal for some reason.

bailuk commented 5 years ago

I think this is resolved so a close this issue.