View Source F1Bot.F1Session.DriverDataRepo.Stints (f1_bot v0.7.0)

Stores all information about driver's stints in the current session, e.g. tyre compount and tyre age.

Link to this section Summary

Link to this section Types

@type t() :: %F1Bot.F1Session.DriverDataRepo.Stints{
  data: [F1Bot.F1Session.DriverDataRepo.Stint.t()]
}

Link to this section Functions

Link to this function

current_stint_number?(self, stint_number)

View Source
Link to this function

find_stint(self, stint_number)

View Source
Link to this function

fix_stint_data(self, laps)

View Source
Link to this function

push_stint_data(self, stint_data, current_lap_number)

View Source
Link to this function

sort_by_number(stints, direction \\ :asc)

View Source