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 a course time based on a chosen total time finish #82

Open
FJBDev opened this issue Jul 4, 2018 · 6 comments
Open

Calculate a course time based on a chosen total time finish #82

FJBDev opened this issue Jul 4, 2018 · 6 comments
Assignees

Comments

@FJBDev
Copy link
Collaborator

FJBDev commented Jul 4, 2018

For a given course with given parameters, calculate the time for each point based on a total finished time specified by the user.
For example : If the user wants to finish in 30h, estimate the time for each point based on that total finish time

@FJBDev FJBDev self-assigned this Jul 7, 2018
@patrovite
Copy link
Owner

Done in V4.4

@FJBDev
Copy link
Collaborator Author

FJBDev commented Nov 2, 2019

@patrovite I didn't find in the doc or in CG how to use this new feature, is there a button to enter the desired finished time ?

@patrovite
Copy link
Owner

Page 49 of the pdf manual.
Menu "Tools>Search 'Speed/Slope' from the the final time"

@FJBDev
Copy link
Collaborator Author

FJBDev commented Nov 3, 2019

Ok, I found it and tried it but it didn't work as I expected as the function that was implemented looks for a curve that would match this time which means if the curve is not found, nothing happens. That's not actually what I meant when I created this feature request.
What is meant is this :

  • The user selects a track with or without a finish time
  • The user specifies the desired finish time.
  • From this given finish time, Course Generator computes the time from the start to the finish so that the finish time equals the time entered by the user.

@FJBDev FJBDev reopened this Nov 3, 2019
@patrovite
Copy link
Owner

Currently it's not possible to do what you want. CG work with 'speed/slope' curves.
For V4.4.0 I added curves to have curves from 3.6km/h to 18km/h with a step of 0.1km/h.
Other parameters (difficulty, health coeff, time in aid station...) are constants.

To use this feature you need to first set the constant parameters and then run the algorithm.

The current algorithm select the best curve but not the 'exact' curve.
Maybe in the future I can generate a specific curve (for example a curve 9.156km/h) that allow to exactly reach the finish time.

@FJBDev
Copy link
Collaborator Author

FJBDev commented Nov 3, 2019

OK, thanks for the explanation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants