Skip to content

A Node UDP client and telemetry parser for Assetto Corsa 🏎️

License

Notifications You must be signed in to change notification settings

rickwest/ac-remote-telemetry-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assetto Corsa Remote Telemetry Client

This is a JavaScript UDP client and telemetry parser for Assetto Corsa.

Assetto Corsa supports remote telemetry communication via UDP socket. This exposed telemetry data can then be consumed by external applications or connected peripherals for a range of purposes, such as providing extended telemetry display, motion platform hardware support or providing force feedback data for custom steering wheels.

More information can be found in the AC Remote Telemetry Documentation.


Getting started

Install this module

npm:

npm install ac-remote-telemetry-client

How to use this module

import { ACRemoteTelemetryClient } from 'ac-remote-telemetry-client';
// const ACRemoteTelemetryClient = require('ac-remote-telemetry-client');

const client = new ACRemoteTelemetryClient();

// Implement desired listeners
client.on('HANDSHAKER_RESPONSE', (data) => console.log(data));
client.on('RT_CAR_INFO', (data) => console.log(data));
client.on('RT_LAP', (data) => console.log(data));

// Start listening
client.start();

// Send initial handshake
client.handshake();

// Subscribe to desired updates
client.subscribeUpdate();
client.subscribeSpot();

// Stop listening
client.stop();

Data Examples

About

A Node UDP client and telemetry parser for Assetto Corsa 🏎️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published