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

Not right calculation distance of declared task #270

Open
dmitryborovyk opened this issue Jan 19, 2024 · 4 comments
Open

Not right calculation distance of declared task #270

dmitryborovyk opened this issue Jan 19, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@dmitryborovyk
Copy link

dmitryborovyk commented Jan 19, 2024

19.01.2024 I flew 1252 km 3 turnpoints declared task, but weglide calculated 1020 km in total for the task (but correctly shows the length of the legs 320 + 450 +259 + 222 = 1020 !?) .
https://www.weglide.org/flight/359949

@dmitryborovyk dmitryborovyk added the bug Something isn't working label Jan 19, 2024
@dmitryborovyk
Copy link
Author

shoot

@samuel-git
Copy link
Contributor

Hi @dmitryborovyk,
This is due how the turnpoint type keyhole is handled (circle center vs. edge). Thank you for reporting this inconsistency and congratulations for this awesome flight!

@dmitryborovyk
Copy link
Author

dmitryborovyk commented Jan 29, 2024 via email

@moldhouse
Copy link
Member

What happens is that the task get's scored as a 1020 triangle where you start on the leg. This is not a bug. A triangle get's scored with a bonus of 1.4, where as a 3 TP task does not have a bonus. So the 1000 km triangle beats the 1250 3 TP. I don't see any obvious way to solve this. @samuel-git, I think there is a few options we have in the frontend:

  1. Display more clear that the task is scored as triangle (not just in the task but also in the score object) next to Declared. The information can be taken from the task itself.
  2. When the user clicks the declareation contest, we should display the task in the same way it is displayed when clicking on the task from the free contest (there is a difference)

@moldhouse moldhouse assigned samuel-git and unassigned moldhouse Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants