Shared Memory API

Discussion in 'Community Workshop' started by Mikael Hermansson, Jun 7, 2015.

  1. miche34

    miche34 Member

    Joined:
    Nov 20, 2016
    Ratings:
    +23 / 0
    Thanks merci ;)
     
  2. =Andre=

    =Andre= New Member

    Joined:
    Nov 30, 2017
    Ratings:
    +0 / 0
    Hi guys,
    looks like impossible to connect to RRRE 64 bit client shared memory using code based on sector3studios c# sample
    from github.
    Any suggestions?
     
  3. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,252 / 0
    I expect it's the process name in the example. Try changing rrre.exe to rrre64.exe
     
  4. =Andre=

    =Andre= New Member

    Joined:
    Nov 30, 2017
    Ratings:
    +0 / 0
    Yes! That was it!
    Thank you!
     
  5. MoistBrowserTab

    MoistBrowserTab New Member

    Joined:
    Nov 20, 2017
    Ratings:
    +1 / 0
    Is there a simple example anywhere of how to get telemetry data in Python?
     
  6. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +594 / 0
  7. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,252 / 0
    Yeah, the python plugin in the crew chief source code is a good place to start
     
  8. MoistBrowserTab

    MoistBrowserTab New Member

    Joined:
    Nov 20, 2017
    Ratings:
    +1 / 0
    Wow, thanks a TON! This looks like it'll be really helpful.
     
    • Like Like x 1
  9. ChatCureuil

    ChatCureuil Well-Known Member

    Joined:
    Feb 10, 2017
    Ratings:
    +281 / 0
    Is there a way to get wheel angle?
     
  10. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,252 / 0
    don't think so
     
  11. ChatCureuil

    ChatCureuil Well-Known Member

    Joined:
    Feb 10, 2017
    Ratings:
    +281 / 0
    @Viktor Öfjäll
    Would it be possible to add the following to the API?
    - Current steering wheel angle,
    - Wheel range,
    - Steering lock.

    I'm building a Wheeler-like application, but instead of showing direct pedals input it shows values from R3E, taking into account pedal settings like sensitivity or dead zones. And I'd like to display a rotating wheel too. :)
     
  12. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +356 / 0
    Please extend r3e_driver_data
    - orientation
    - pedal status, at least if break is active or not
     
    Last edited: Feb 17, 2018
  13. sgtcarneiro

    sgtcarneiro New Member

    Joined:
    Oct 1, 2016
    Ratings:
    +0 / 0
    AFAIK we have the following deltas:

    TimeDeltaFront
    TimeDeltaBehind
    LapTimeDeltaLeader
    LapTimeDeltaLeaderClass


    Is it possible to add the current delta time for the driver's best lap? (e.g. LapTimeDeltaBestSelf)
     
  14. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +594 / 0
    Hi Viktor,

    So I did a little test and SessionPhases 0 and 7 are never sent at all . I went through all the in-game session events, ended session, quit etc..but they never came through the API. Also Garage=1 is never sent.

    The other session phases all come through. I really need to detect an accurate way when the session has completely ended and this would help me a lot if you maybe get sometime to check it out one day.

    Thank mate :)
     
  15. OtterNas3

    OtterNas3 Active Member

    Joined:
    Jan 9, 2018
    Ratings:
    +29 / 0
    I second that! Would be really Handy for custom Dashboards!
    It is possible to calculate it yourself but it seems, at least from most ingame Car dashs, the data is already there.
    Would love to just read it from the API instead of reinventing the wheel here :)
     
  16. Sberns

    Sberns New Member

    Joined:
    Jul 2, 2018
    Ratings:
    +2 / 0
    Hey guys, I've got a problem (that others have also had on the SimX forums) and I've posted about this in another thread in the community support forum. It pertains to R3E telemetry so I thought you may have some insight. The problem exists in most/all cars though its very prominent in the GT3 cars, eg 911 GT3 R. Whenever I upshift/downshift, I get 5-6 oscillations/wobble for a few seconds on my rig - I get it through my SimX motion rig and a DIY Gseat that uses Simtools so I suspect this is telemetry generated, related to surge data. Any ideas if this is a R3E telemetry bug or fixable via settings?? Sorry to temporarily hijack this thread. Thanks for any advice!
     
  17. Georg Ortner

    Georg Ortner Sector3 Developer

    Joined:
    Jan 13, 2015
    Ratings:
    +2,479 / 0
    Could be the drivetrain elasticity? But it shouldnt wobble for a few seconds.
    I have a SimXperience rig at home, and have never experienced such long oscillations.

     
    • Like Like x 1
  18. Sberns

    Sberns New Member

    Joined:
    Jul 2, 2018
    Ratings:
    +2 / 0
    Possible but can that be dialed out from telemetry? A few seconds may perhaps be a bit exaggerated but it definitely wobbles 5-6 times forward and backwards. It feels quite unnatural and is very distracting. :(
     
  19. Georg Ortner

    Georg Ortner Sector3 Developer

    Joined:
    Jan 13, 2015
    Ratings:
    +2,479 / 0
    In the SimXperience commander i was able to reduce the effect by decreasing the acceleration setting (also adding a smoothing filter on acceleration).

    I don't know what software you are using but there might be a similar option.
     
  20. Sberns

    Sberns New Member

    Joined:
    Jul 2, 2018
    Ratings:
    +2 / 0
    Hi Georg, that’s true - I’ve done that to an extent, but then that impacts the rest of the driving experience. Perhaps this is a drivetrain elasticity issue as others have suggested? I have no idea if anything is possible from a telemetry side like reducing the ?oscillation amplitude (or lower derivative?) of the surge after upshifts? Hoping something can be done. I know this will only affect a small number of people (those with motion rigs). Thanks for your suggestion.