GithubHelp home page GithubHelp logo

rsmonitor-run-parser's Introduction

RSMonitor Run Parser

Protoype in NodeJS to parse data from RS Monitor datalogger .run files of Renault Sport cars, based on the work of rocasspb and his RSMonConverter project in Kotlin.

Output example

Description

  • Place input file in in/run.log
  • Run node index.js
  • It will output out/export.csv

Mapping

  • Split file each 183 bytes
Field Type Offset Byte length Conversion
boost UIntBE 0x3B 2 value * 5
brake UIntLE 0x42 2 value * 0.01
gear byte 0x98 1 value
gpsLat UIntBE 0x60 4 value * 0.0000001
gpsLon UIntBE 0x5c 4 value * 0.0000001
power UIntBE 0x58 2 value
rpm UIntBE 0x4B 3 6000000 / value
speed UIntBE 0x17 3 value / 6 / 122
temp_clutch UIntLE 0x31 2 value * 0.1
temp_coolant UIntLE 0x22 2 value * 0.1
temp_external UIntLE 0x93 2 value * 0.1
temp_gearbox UIntLE 0x2c 2 value * 0.1
temp_intake UIntLE 0x1d 2 value * 0.1
temp_oil UIntLE 0x27 2 value * 0.1
throttle UIntLE 0x36 2 value * 0.1
time UIntBE 0xA9 3 value * 0.01
torque UIntBE 0x50 2 value

TODO

  • Understand how the mapping was found
  • Some data (Speed, RPM) are not fully equal when importing the .run file in RS Replay website, maybe the conversion used in the mapping are not correct
  • Calculate lap count and time from GPS position
  • Detect track name and properties from GPS position
  • Expose this as an npm library
  • Create a video with green background from the data to display them like RS Monitor bargraph and gauges

Example

  • log.run file provided is a run done at track Circuit du Var with a Clio 4 RS Trophy 220

rsmonitor-run-parser's People

Contributors

agiordanengo avatar

Stargazers

Andrei G avatar Florian Labarre 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.