Coder Social home page Coder Social logo

leroythelegend / rough_idea_project_cars_cpp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.3 MB

Command line tool for converting Project Cars Version 1 and 2 UDP Telemetry Packets into CSV files.

License: MIT License

C++ 97.92% CMake 2.08%
project cars projectcars udp telemetry cpp pcars playstation linux mac

rough_idea_project_cars_cpp's Introduction

Rough Idea Project Cars C++ Telemetry

Uses the UDP output to write telemetry for either Project Cars version 1 or version 2 telemetry to a set CSV files for each lap.

The CSV files include telemerty for the tyres, suspension, raceline, force, engine, weather and inputs.

Build and Install

  • For linux or mac
# mkdir build; cd build
# cmake ..
# make
# sudo make install
  • For Windows

This is what I did to build on windows (I'm no expert on windows)

  • Installed free version of visual studio
  • Installed vscode
  • Open the repo in vscode
  • Installed the C++ intelliSense from microsoft
  • Installed the CMake Tools plugin from microsoft
  • VSCode had a pop-up to configure to use CMake, I clicked yes
  • Then clicked the build button at the bottom of VSCode
  • This then built the executables in ./build/Debug

Run

Create a directory to store the csv files and run the pcarscsv exe, for example on linux or mac

# mkdir bathurst-p1
# cd bathurst-p1
# pcarscsv -v2

and for version 1 telemetry (default is version 2)

# pcarscsv -v1

I then use plotjuggler-3 to view the CSV files (https://github.com/facontidavide/PlotJuggler).

Alt text

rough_idea_project_cars_cpp's People

Stargazers

 avatar

Watchers

 avatar

rough_idea_project_cars_cpp's Issues

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.