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

Wrong speed data #67

Open
paultranvan opened this issue Feb 25, 2022 · 0 comments
Open

Wrong speed data #67

paultranvan opened this issue Feb 25, 2022 · 0 comments

Comments

@paultranvan
Copy link
Contributor

This is an actual trip section, where the speed is wrong - it should be 187 km/h:

image

And the associated data, that show false data:

"duration": -5025.138000011444,
"speeds": [
  0,
  14.098038471979239,
  14.098381654192648,
  14.098724829652095,
  14.09906799832621,
  14.099411160224314,
  14.099754315335623,
  8.020515177915986,
  -49.91457013852098
],
"distance": 262612.4730699693,

Somehow, the displayed duration is correct, despite the data being negative. But the average speed is computed based on the speeds array, while we could compute it directly from duration and distance.

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