assetto-server-manager icon indicating copy to clipboard operation
assetto-server-manager copied to clipboard

Automatic grip calc

Open cheesegrits opened this issue 4 years ago • 2 comments

Would you be interested in a PR that added "Auto Grip Calc" as an option?

For the league I run, we have some provisioning that uses an algorithm we've tweaked over the years whereby rather than setting start % for practice, transfer % and laps to gain 1%, we specify the grip we want the race to start at, the number of drivers, and the average lap time. The algorithm figures out the numbers it needs to start practice at (with a couple of tunable constants for the percent of theoretical max laps turned in P and Q) in order to start the race at the required grip, and achieve 100% about 2/3rd of the way into the race. It works remarkably well at producing an evolving track.

From an admin's perspective setting up a race, it may be easier to do it that way (so the only numbers they have to set up are "race start %" and "average lap time"), rather than having to do the mental math on "laps to gain 1%", which is not an easy calculation to do, to arrive at a number that has the track hitting 100% at some point during the race.

I'd see it as an option, so you could do it either way.

cheesegrits avatar Oct 11 '19 17:10 cheesegrits

this sounds cool! i'd definitely be interested in it :)

cj123 avatar Oct 15 '19 13:10 cj123

OK, I'll have a stab at doing it. Biggest issue for me will be figuring out the templating to add the either/or choice for grip settings, and it'll need some JS work as well. I haven't delved into the Typescript stuff yet, so that'll be a voyage of discovery. :)

cheesegrits avatar Oct 25 '19 12:10 cheesegrits