GithubHelp home page GithubHelp logo

Comments (1)

kaiusl avatar kaiusl commented on May 29, 2024

Some notes on this.

We only have MandatoryPitDone info for the player car but not for everyone else, thus we would need to figure out if a car served mandatory pit ourselves, eg we need to figure out what a car did in the pits.

There are three aspects of mandatory pitstops: pit window, driver change and tyre change. But we don't actually have any information about which of these are required at a given session. Now assuming that we would have that data there are still some issues. I think we can figure out first two parts of the mandatory pit requirements. We do have pit window time and length from the shared memory data, so we can figure that part out. Similarly we do know which driver is in the car. However if the car actually changed the tyres is more tricky.

We do know if the car is in the pitlane and if it served a penalty (to be more precise we receive a message if the penalty was cleared). From the car's speed we can figure out when it's stopped, but we don't know if it is actually stopped in it's pitbox or not (this info is only available for the player car), which is another issue. We also know that a tyre change takes 30s, so if the pitstop is shorter than than, we know there couldn't have been a tyre change but we if a car did some repairs it can have a pitstop longer than 30s without changing tyres and thus we cannot be certain.

So in summary I think this would become feasible if we get some extra data from ACC, either directly the number of served (or left to be served) mandatory pitstops or which components are required and what the car actually did in the pits.

from klplugins.dynleaderboards.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.