You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare the heading of the train with the heading of the user's device (maybe).
Comparing the distance between the user and the train, to avoid showing a train that's >500m away as the current train.
We can also compare the speed of the user with the speed of the train, for example to avoid showing a stopped sprinter as the current train, when we're actually in an intercity.
In this order:
Rank trains by distance.
Take the first 5 trains.
Make sure the first 5 trains are a maximum of 1km from the user.
Now sort by how close the trains speed is to the user's speed. So the first item in the list most closely matches that of the user.
And also adding a button for the user to understand why there's no train detected.
The text was updated successfully, but these errors were encountered:
Improve the train detection.
In this order:
And also adding a button for the user to understand why there's no train detected.
The text was updated successfully, but these errors were encountered: