[REL] DAMPlugin for rF2

Discussion in 'Other' started by Lazza, Jul 18, 2015.

  1. Adolfo Bisi

    Adolfo Bisi Registered

    Joined:
    Dec 29, 2022
    Messages:
    56
    Likes Received:
    65
  2. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
  3. Adolfo Bisi

    Adolfo Bisi Registered

    Joined:
    Dec 29, 2022
    Messages:
    56
    Likes Received:
    65
    oddly, GPS was not working yesterday but I tried again after your reply, with the same log, and it worked.
     
  4. Bortaletti

    Bortaletti Registered

    Joined:
    Feb 14, 2024
    Messages:
    1
    Likes Received:
    0
    Hello Lazza, first of all, thank you for the work. Unfortunately, the plugin is not recording my steering angle and brake input. Do you have any idea what settings I need to adjust to make this work? Thank you for your time.
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    Should work as standard, check the channel names in your components/graphs match the names in the logged channel/value list (press C or V to view those).

    IIRC steering is just % as standard, the angle might be in an add-on channel group.
     
  6. danort17

    danort17 Registered

    Joined:
    Dec 13, 2023
    Messages:
    14
    Likes Received:
    1
    Cheers mate, can you tell me at which exact frequencies the data rates 1 to 5 are recording?
     
  7. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    I don't have a full list, and the only easy answer is: on 5 everything is 100Hz, except FFB on 400Hz.

    All other levels have different channels at different rates, because you don't need high rates for many channels. I would say, though, don't bother with 1 or 2, as those rates are so low as to almost be worthless for a lot of analysis (and these days drive space is rarely an issue). I'd recommend using 4.
     
  8. danort17

    danort17 Registered

    Joined:
    Dec 13, 2023
    Messages:
    14
    Likes Received:
    1
    Thanks mate! I'm still working on my thesis, therefore I used 5 for all channels, since it's not too much data that I have. Was just asking to have a valid number I can out there, better than writing "at the highest level" without knowing a concrete number :) But thats something I can work with now, thanks!
     
  9. Adolfo Bisi

    Adolfo Bisi Registered

    Joined:
    Dec 29, 2022
    Messages:
    56
    Likes Received:
    65
    For those who are wondering, the plugin works straight up in LMU.
    Just put the files from inside the folder "bin64" directly to LMU root folder, and copy the "plugin data" folder also to the root of LMU.
    Don't forget to open the game once and close it to create the "DAMPlugin.ini" file for you to edit.
     
  10. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    There was a staff response in the LMU discord indicating Motec was working. I didn't know if that meant native support or existing rF2 plugins, but I'd heard nothing from S397/MSG regarding it.
     
    svictor, Adolfo Bisi and ebeninca like this.
  11. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    782
    Likes Received:
    561
    TinyPedal is working on LMU too, lol.
     
  12. Adolfo Bisi

    Adolfo Bisi Registered

    Joined:
    Dec 29, 2022
    Messages:
    56
    Likes Received:
    65
    They probably meant that your plugin still works since, for nobody surprise, it is rF2 with locked WEC content.
    Let me ask, if there are new channels available or if they have a higher recording frequency, will those things appear on the log from the current version, or do you need to manually add them and release an update?
     
  13. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    They would need to be added. It's probably safe to assume, though, they haven't modified the available data, given their ongoing work in many other areas.
     
    Adolfo Bisi likes this.
  14. keith_d

    keith_d Registered

    Joined:
    May 22, 2015
    Messages:
    48
    Likes Received:
    88
    As Adolfo mentioned we have Motec working in LMU, the only channel I can't get is Steering Wheel Position, the channels active but no output on the data, anything in your opinion that I can do to work around that and get it going?
     

    Attached Files:

  15. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    Not at the moment, I need to revisit this plugin for rF2 and with LMU in mind as well. It's possible the data for that has moved, or for whatever reason LMU just isn't providing it. The plugin will generate the channel regardless.
     
  16. keith_d

    keith_d Registered

    Joined:
    May 22, 2015
    Messages:
    48
    Likes Received:
    88
    Ok mate no problem, I've got plenty to play with for the moment anyway
     
  17. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,023
    Likes Received:
    6,817
    The mUnfilteredSteering value is actually working, but the mPhysicalSteeringWheelRange value is currently not outputting wheel range value (don't know if this is done intentionally). So when multiplying mUnfilteredSteering with mPhysicalSteeringWheelRange to get current rotation angle, it will always give 0 reading.

    In latest TinyPedal update from the other thread, I have added a manual override setting for user to manually set steering wheel range, which will output working rotation angle as long as the manually set wheel range is matching the car.

    (ps: mVisualSteeringWheelRange also works, however it always gives 720 deg range regardless of steering lock setting or other stuff, so not really useful.)
     
    Lazza and keith_d like this.
  18. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,533
    Likes Received:
    6,705
    svictor likes this.
  19. Scoopscat7

    Scoopscat7 Registered

    Joined:
    Jun 21, 2015
    Messages:
    157
    Likes Received:
    87
    Probably a stupid question but a thought did come into my head about analysis of the MoTeC data. Has anyone tried uploading a MoTeC file to an AI (not the computer cars) provider such as ChatGPT etc to see where improvements can be made? I know nothing about these but assuming there is sufficient data for it to learn from I am assuming that AI could provide an analysis? How good it would be I have no idea but as I said just a thought.
     
  20. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    83
    Likes Received:
    13
    Sorry, a little OT.

    This is what I had on my old steering input overlay on Simhub:

    Code:
    [DataCorePlugin.GameRawData.CurrentPlayerTelemetry.mUnfilteredSteering]*[DataCorePlugin.GameRawData.CurrentPlayerTelemetry.mPhysicalSteeringWheelRange]/2
    This is the modified version for LMU and it's just ok comparing to my real wheel position

    Code:
    [DataCorePlugin.GameRawData.CurrentPlayerTelemetry.mUnfilteredSteering]*[DataCorePlugin.GameRawData.CurrentPlayerTelemetry.mVisualSteeringWheelRange]/4
     

Share This Page