Giter VIP home page Giter VIP logo

teamtactics's Introduction

Teamtactics

This application is intended to collect realtime telemetry from iRacing team members during a team event.

Problem

Some of the telemetry data in iRacing is delayed for all currently not driving team members because of anti-cheat reasons. This affects some data which is needed to calculate driving tactics, especially but not only - fuel data.

Solution

If all team members are running the teamtactics client, the following telemetry data is collected and aggregated into a cloud server:

  • LapCompleted
  • LapLastLapTime
  • Driver Customer-ID
  • FuelUsed
  • FuelLevel
  • OnPitRoad
  • TrackTemp
  • PitSvFlags
  • SessionTime
  • PlayerCarTowTime
  • PitRepairLeft
  • PitOptRepairLeft
  • SessionTimeOfDay when entering/exiting pits and stop/start moving in pits
  • TrackLocations
  • Flags

With this information the team's strategy can be calculated based on near realtime data. A client which makes use of this data is subject of another project.

Configuration and usage

[DEFAULT]

[global]
# Each team member has to configure its own iRacing ID here
iracingId = <your iRacingId>

# Proxy configuration. The given URL will be used as Proxy on both http and 
# https protocol
;proxy = <Proxy URL>

## The following options are for development/debugging only. 
# Generates additional debug output. Comment out or set to yes/True to enable
;debug = yes

# Logfile to which data is written in debug mode 
logfile = irtactics.log

# Uncomment to start the application using a data dump file from irsdk for 
# testing/development purposes. The dump file can be created by issuing the 
# command 'irsdk --dump data.dmp'
;simulate = data/monzasunset.dump

[connect]
# Fill in the client access token from your TeamTactics profile at
# https://iracing-team-tactics.appspot.com/profile
clientAccessToken =

# URL where the client send its messages to - usually no subject to change
postUrl       = noFallback

To start a session recording:

teamtactics.exe

Developer info

Prerequisites

Python irsdk

pip3 install pyirsdk

Packaging

pyinstaller --clean --icon dist/teamtactics2.ico -F teamtactics2.py

To build setup package comile

tt2setup.iss

using InnoSetup compiler

teamtactics's People

Contributors

robbyb67 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jjcantillon

teamtactics's Issues

Contact

Hi Robert,

I'm a Machine Learning Engineer, and also an iracing player and I was looking for some project like this to contribute in the client or in the server side. I could help with any backend task. I couldn't find any email to reach you. Could you tell me if you are open to talk a bit about your project?

best regards

Provide native (Windows) UI

Instead of running in a terminal window provide a graphic ui that

  • Displays
    • iRacing ID
    • client access token (not all characters)
    • last status/log message(s)
  • Indicates status:
    • RED: Configuration or initialization error, update available
    • YELLOW: Updates available
    • GREEN: Server reachable and responding
  • Configuration editing for
    • Debug on/off
    • Server URL

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.