GithubHelp home page GithubHelp logo

jjcantillon / teamtactics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simracingtools/teamtactics

0.0 1.0 0.0 18.18 MB

Team telemetry tools

License: GNU General Public License v3.0

Python 89.05% Inno Setup 10.95%

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

Google cloud firestore

pip3 install --upgrade google-cloud-firestore

Google cloud pub-sub hub

pip3 install --upgrade google-cloud-pubsub

Build

Follow instructions at https://stackoverflow.com/questions/55848884/google-cloud-firestore-distribution-doesnt-get-added-to-pyinstaller-build

Run

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

To build setup package comile

tt2setup.iss

using InnoSetup compiler

teamtactics's People

Watchers

James Cloos avatar

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.