Results 1 to 5 of 5

Thread: Steering, throttle and brake-input API

  1. #1
    Kart Driver
    Join Date
    May 2015
    Posts
    6

    Steering, throttle and brake-input API

    I've been wondering for a while if there is any simple way to give inputs to Pcars via e.g. a REST api? My guess is that this is not possible, because the shared memory probably only supports output and not input. If this is the case: Does anybody have any good ideas on how this could be achieved?

  2. #2
    GT3 Pilot Schnizz58's Avatar
    Join Date
    May 2015
    Location
    The Duchy of Grand Fenwick
    Posts
    3,437
    Platform
    XBOX1
    The only way I can think of would be to mimic the protocol of a wheel or game controller.
    Strike 1: No mid-race saves. Strike 2: Dumbed down FFB for consoles. Strike 3: ?
    Xbox One | Thrustmaster TX Wheel | Thrustmaster VG Ferrari 599XX EVO Wheel Alcantara Edition
    Thrustmaster T3PA Pro Pedals with Ricmotech Load Cell Mod | Wheelstand Pro v2

  3. #3
    Superkart Pilot SenorPez's Avatar
    Join Date
    Jan 2016
    Location
    Place
    Posts
    182
    Platform
    PS4
    The API, both shared memory and UDP, is read-only.

    If you'd like to provide input, you'd have to mock the actual inputs. I honestly don't know how "encrypted" the various platforms are when it comes to their input devices.
    Project CARS Replay Enhancer (Thread): http://forum.projectcarsgame.com/sho...eplay-Enhancer
    Kobernulf Monnur's Driver Journey: https://www.youtube.com/playlist?lis...mO1D9jU200jcWJ

  4. #4
    Moderator Ryzza5's Avatar
    Join Date
    Oct 2011
    Location
    Melbourne, Australia
    Posts
    995
    Platform
    PC
    Sending stuff into the game would be especially locked down on consoles. It was somewhat amazing when we first discovered that we were allowed to output data via UDP on the PS4 (has anyone else done that yet?)

    pC1 supporting 'unsupported' wheels on PS4 was also a bit of a pain point that I'm guessing won't be repeated for the sequel, which is loosely the category this request seems to fit into.

    MB Asus P8Z77-V Deluxe // CPU Intel i5 3570K // RAM G.Skill 16GB DDR3 @2133MHz // GPU Gigabyte nVidia Titan X // HDD 4x 2TB Western Digital // SSD Samsung 850 Evo 1TB

    CPU Cooler Corsair H80 // Case CoolerMaster 650 Silencio // Display ASUS PG34Q 34" 3440x1400 100Hz G-SYNC LCD // Speakers Logitech Z5500-D 5.1ch // OS Windows 10 Pro x64// Build Default Parameters

    VR Oculus Rift CV1 // Wheel Fanatec CSR Elite // Pedals Fanatec Clubsport // Shifter Thrustmaster TH8RS with InterfaceOne wheel adapter // Head Tracking TrackIR v4 // Audio Transducer ButtKicker Gamer v2.0 // Seat PlaySeat Executive

  5. #5
    Kart Driver
    Join Date
    May 2015
    Posts
    6
    I actually just need this for PC. It is related to a project where I'm interested in trying to drive a car via e.g. python or some other language. So I need to find a way to emulate a steering wheel - giving steering position, gas pedal position and brake pedal position.

Similar Threads

  1. Replies: 5
    Last Post: 27-07-2017, 17:24
  2. Edit Assignments - Throttle, Brake and Steering Issues on a G29 wheel.
    By Hyflex in forum PC - Technical Help & Support
    Replies: 1
    Last Post: 05-03-2017, 01:15
  3. RPM does equal throttle pedal input
    By Fanatest in forum XB1 - Technical Help & Support
    Replies: 22
    Last Post: 31-07-2015, 23:46
  4. CSR Elite pedals, only 50% on brake & throttle
    By Flyinloco in forum PC - Technical Help & Support
    Replies: 6
    Last Post: 11-05-2015, 23:42
  5. Throttle and Brake Graphic HUD
    By Yanhenri in forum PC - Technical Help & Support
    Replies: 2
    Last Post: 10-05-2015, 19:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •