Giter Club home page Giter Club logo

ibt-conversion's Introduction

iRacing IBT to CSV Conversion

Steps to use:

  1. Run npm install
    1. Note: if ibt-telemetry is not available via npm registry, you'll have to clone it and run npm install in its root directory first
  2. Copy/paste your .ibt file into the main directory and rename it telemetry_file.ibt
  3. Run npm run csv
    1. This will generate a CSV with the default params, see Usage below for more details on customizing
  4. A file called output.csv should be created in the main directory

Usage

There are parameters able to be passed to the script to change functionality.

Param Description
params Should be passed in as a comma-delimited value. Determines which columns are pulled from the IBT file. e.g. Speed,Throttle
logSample Used to output a single sample as reference for the currently available fields. Pass a boolean value - true/false

###Example parameterized usages

Command Output
npm run csv -- --params=Speed,Throttle Will generate a CSV with only Speed and Throttle columns
npm run csv -- --params=Speed,Throttle --logSample=true Will generate a CSV the same as above but will also output a single sample
npm run csv -- --logSample=true Will generate a CSV with the default fields (see index.js) and also output a single sample

Note: all the double hyphens above are necessary

ibt-conversion's People

Contributors

leprechaun424 avatar id-keenan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.