-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On android, trip end is not detected when underground #112
Comments
Ok so I can't actually find saved logs that support this. So I'm going to have to go the library or to 305 Soda to get out some logs that show this. I do have some logs from my husband when he was complaining about battery drain, but that looks like #71. Basically, he keeps getting spurious exits but because there's no doze mode, they end after 5 mins. But this happens multiple times a day.
|
I have attached a log file that illustrates this phenomenon. Before this line, there are very few false points.
Between these two, we have intermixed false and true points
Then we have a short streak of all trues
And then a long streak of falses
After which we return to trues
|
We should generate the tracking_error transition in that case, which will cause the FSM to go to the start state. |
When underground, or in other locations where the GPS is unable to have a fix, we keep getting invalid locations. Invalid locations are those with low accuracy. If we don't filter these, we detect a trip end every time we travel underground (e.g. on BART).
Filtering was added as part of
4286d60
and fixed several issues like
#45
But if we do filter them, then we don't detect a trip end even if we are stationary but underground, eg. in Soda 3rd floor.
I can't actually find logs for this right now, so I'll look around some more, otherwise I will just go and sit in the third floor for a while on Friday and get logs to attach here.
The text was updated successfully, but these errors were encountered: