Skip to content
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

Calculate future train positions #17

Open
galderz opened this issue Oct 11, 2017 · 0 comments
Open

Calculate future train positions #17

galderz opened this issue Oct 11, 2017 · 0 comments

Comments

@galderz
Copy link
Contributor

galderz commented Oct 11, 2017

For each train, the train position stream gives you its current position and the future positions for the next 30 seconds with an interval of 2 seconds.

The current code just displays the current position, but the way to achieve a continuous movement of trains is by taking advantage of these future positions. This code shows how to calculate a trains specific position at a given time using the current and future position information.

Implementing this would give a continuous train position movement feeling.

@galderz galderz removed the must do label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant