Giter Club home page Giter Club logo

simetry's Introduction

simetry

Rust library for interfacing with telemetry of various racing and driving sims.

The library is under active development, and the generic interface for handling all sims is yet to be designed.

Currently supported sims:

  • iRacing
  • Assetto Corsa
  • Assetto Corsa Competizione
  • rFactor 2 (extra steps for enabling described below)
  • DiRT Rally 2.0
  • Euro Truck Simulator 2 (extra steps for enabling described below)
  • American Truck Simulator (extra steps for enabling described below)

Beyond that, an interface for a generic HTTP server exists, allowing you to easily emulate any sim to see the functionality of your software that way, instead of having to run the sim and replicating scenarios manually.

All implementations provide a Client which retries connections forever with Client::connect() and generates its own SimState.

Besides that, iRacing provides a DiskClient for reading recorded telemetry data, and commands for sending commands to iRacing.

Examples of capabilities are available in examples.

The most generic way of use is using simetry::connect to connect to whatever sim is currently running with a generic client, and querying that way.

That generic way currently only supports some basic capabilities, and if you need more than what's present there, you can use the interface of the individual sims.

Extra Configuration

rFactor 2

Requires adding the DLLs from https://github.com/TheIronWolfModding/rF2SharedMemoryMapPlugin.

Euro Truck Simulator 2 and American Truck Simulator

Requires adding the DLLs from https://github.com/RenCloud/scs-sdk-plugin.

Alternatively supporting also https://github.com/Funbit/ets2-telemetry-server via simetry::truck_simulator::json_client::Client.

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.