[REL] DAMPlugin for rF2

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

  1. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    You may want to look at the patch and ground velocity channels - you may be able to use them for that purpose, though I'm not sure exactly how they're aligned.

    PS Thanks for the thanks, but no donation for this one :)
     
  2. Nielsen

    Nielsen Registered

    Joined:
    Feb 29, 2016
    Messages:
    181
    Likes Received:
    60
    "You may want to look at the patch "
    The patch.
    What patch do you mean?:confused:
     
  3. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    Sorry, presumed some familiarity on your part there. Some of the optional channels (check the channel list linked in the first post) are (tyre) contact patch velocities and ground velocities. They sound like they should allow you to calculate the speed of the tyre surface across the track surface, but I'm not sure how their axes are aligned and therefore whether you can get the longitudinal slip you're after.
     
  4. Nielsen

    Nielsen Registered

    Joined:
    Feb 29, 2016
    Messages:
    181
    Likes Received:
    60
    Hehe good one:)
    OK I dig a bit down in other tire channels than the Rot Speed. To get a (hopefull) more usefull channel.
     
  5. lemming77

    lemming77 Registered

    Joined:
    Jan 27, 2013
    Messages:
    68
    Likes Received:
    17
    Hey Lazza, did you get a chance to look at boost pressure?

    In the mean time, I have a temporary solution in the form of an expression, measuring fuel use per engine revolution.

    Code:
    max(-derivative('Fuel Level' [l]), 0) / 'Engine RPM' [rps]
    The resulting unit is in litres, and I'd suggest displaying it in microlitres. More fuel per rev = higher boost pressure. It'll get a bit weird if an engine uses different mixtures across its map, but for the mods I'm working on this is enough to get an idea of what's going on. :)
     
  6. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    Sorry, not yet. Haven't been home for 3 weeks and wasn't getting much time for this stuff previously, I'll try and fix up some stuff soon but if I give a timeframe I'll just disappoint (ah... story of my life) soooo soon it is :)
     
  7. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    104
    Likes Received:
    5
    hi, I've little question. I'm using DAM plugin for data acquisition and in telemetry I notice that the red point on trackmap isn't sincronised with data, the point seems to be faster than data recorded. Someone else have same problem? There's a solution to fix it?

    Thanks a lot.
     
  8. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    For now regenerate the track map using G forces (not GPS) and the dot should be much better synchronized. I need to sort out the GPS data/scale, when I get it right I'll fix it in the plugin - will only want to do that once (it breaks GPS comparisons with previously logged data).
     
  9. lemming77

    lemming77 Registered

    Joined:
    Jan 27, 2013
    Messages:
    68
    Likes Received:
    17
    No worries, other things have to come first I know. :) I just don't want to let you forget! :p Hehe
     
  10. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    104
    Likes Received:
    5
    Generating with G Force seems to be ok! Thanks!!!! ;)
     
  11. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    Updated to 0.75

    - Adjusted GPS positioning. Generating track maps by GPS coordinates (i2Pro default) should now produce correct lap distance scaling. This should be the last major adjustment to GPS data.
    - Fixed Turbo Boost Pressure values. Note that the pressure is absolute, not relative to normal atmospheric pressure, so 101.325kPa is 'zero' boost.
    - Both the 32- and 64-bit plugins are now called DAMPlugin.dll, in line with more recent rF2 convention (no more _x64 suffix, which will also mean no separate entries in CustomPluginVariables.JSON).


    Those doing manual installs please note the last item above. You'll need to delete the old 64 bit plugin.
     
  12. Markj

    Markj Registered

    Joined:
    Jan 11, 2012
    Messages:
    77
    Likes Received:
    14
    Fantastic thanks Lazza, was just coming to this thread to see if i could fix the misalignment of track position only to find this update that solved the issue. brilliant :D
     
  13. Lgel

    Lgel Registered

    Joined:
    Jun 24, 2014
    Messages:
    1,245
    Likes Received:
    329
    Thanks Lazza.
     
  14. TJones

    TJones Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,017
    Likes Received:
    196
    Thank you Lazza!
     
  15. Gilles Benoit

    Gilles Benoit Registered

    Joined:
    Aug 15, 2012
    Messages:
    54
    Likes Received:
    60
    Thanks Lazza !

    Installed the plugin (Steam) and Motec program and everything is working !

    Cheers !
    Gilles
     
  16. whinos_AK

    whinos_AK Registered

    Joined:
    Oct 24, 2015
    Messages:
    7
    Likes Received:
    0
    I think in case of Long Races with Pilot Changes, if have an option to turn on/of in options.
    Working: In race the pluguin save 1 lap, and consecutive add the dates of 2 lap and save and continue. If the game crash or lost conection, or going to spectate mode, the file is there on /LOG saved.
     
    Last edited by a moderator: Jun 4, 2016
  17. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    The structure of the log file means 'adding' more to an existing log isn't straightforward. Over time it will become a more and more expensive (execution time) operation.

    My intention is to provide two options here: 1. Have the plugin, or the Handler program, rescue aborted logs and make them work in i2Pro, and 2. Allow per-lap logging, which would create a new log for each lap completed. Obviously I don't have either of those in place yet.
     
  18. Associat0r

    Associat0r Registered

    Joined:
    Oct 5, 2010
    Messages:
    307
    Likes Received:
    8
    Could vehicle Yaw, Pitch, Roll angle be added to the log?
    Also, could fastest time for incomplete/partial laps be discarded from the header? So that only complete/valid laps show up with a time in the file open dialog.

    Thanks in advance.
     
    Last edited by a moderator: Jul 6, 2016
  19. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,997
    Likes Received:
    4,127
    Damn, I forgot to add the orientation stuff for this one... I will add that, yeah.

    The fastest lap info is generated by i2Pro, but you're right, I should remove all timing info from partial logs. I'll have to check the effects on partial logs (so outlap / partial lap 'tests' are still useful), but it should be possible. I agree having bogus fast laptimes showing up is a bit annoying/confusing :)
     
  20. Associat0r

    Associat0r Registered

    Joined:
    Oct 5, 2010
    Messages:
    307
    Likes Received:
    8
    Many thanks for the quick response. And yes I mean that partial logs should still be saved, but just not be shown as fastest laps.
     

Share This Page