Steps to use:
- Run
npm install
- 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
- Note: if ibt-telemetry is not available via npm registry, you'll have to clone it and run
- Copy/paste your
.ibt
file into the main directory and rename ittelemetry_file.ibt
- Run
npm run csv
- This will generate a CSV with the default params, see Usage below for more details on customizing
- A file called
output.csv
should be created in the main directory
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