Neurological Phenomenon Multiplexer

    ac-remote-telemetry-client

    0.1.1 • Public • Published

    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

    Install

    npm i ac-remote-telemetry-client

    DownloadsWeekly Downloads

    6

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • rickwest