Telemetry and shared memory tools

Discussion in 'Community Workshop' started by pixeljetstream, Jul 11, 2015.

  1. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    no, need to install extra stuff, I will pm you details to find out what's going wrong
     
    • Like Like x 1
  2. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    Finally added pan & zoom.
     
  3. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    And fixed the OpenGL 3.3 conversion, so @shardshunt can run it now.
     
    • Like Like x 1
  4. heppsan

    heppsan Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +1,268 / 0 / -0
    Will this work (or be used) as the ispeed app for iRacing?
     
  5. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Ayup fella,

    I had a quick look at this (long long overdue). The recording stuff is really helpful, but I can't get the viewer stuff to run. I do some recording, then I invoke the view with r3e-trace-viewer.exe trace_[....].r3t. It falls over straight away on a Glew assertion:

    EXT_direct_state_access support required

    Line 487 of r3e-trace-viewer.lua -

    assert(gl.__GLEW_EXT_direct_state_access ~=0, "EXT_direct_state_access support required")
     
  6. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Oh, and I took out the assert line and it barfed later on (don't have the error message). This is with an AMD r9 280, 15.7 drivers, win7 64bit
     
  7. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    have removed the extension usage now, get NV for better drivers next time ;)
     
    Last edited: Aug 24, 2015
  8. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Heh, don't worry about that. I swore I'd never buy another ati card after the shocking drivers for the original Radeon 256. I thought things might have improved after more than 10 years. Of course, they bloody haven't :(
     
  9. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Computer says "no"...

    This now fails:

    progTrack = glu.loadprogram({
    GL_VERTEX_SHADER = "shaders/track.vert.glsl",
    GL_FRAGMENT_SHADER = "shaders/track.frag.glsl",
    })
    assert(progTrack, "could not load shaders/track")

    r3e-trace-viewer.lua line 563. So I guess it can't even load the shaders :(


    Of all my recent unwise purchasing decisions, buying an AMD graphics card was easily the most retarded
     
  10. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
  11. Vojvoda

    Vojvoda Well-Known Member

    Joined:
    Jan 31, 2015
    Ratings:
    +145 / 0 / -0
    Hi pixeljetstream!
    Is it possible that your exported .csv was compatible with telemetry software like Atlas Express (or similar)?
    It would be very interesting to export all data and turns into one file how does Motec Plugin in other sims...
    Thanks for your works!
     
  12. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Will have a look later - got 2 mucky children to bath / hose down first :)
     
    • Funny Funny x 2
  13. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    Bah, can't get 'em away from the telly. Bloody kids. Still, it's given me a chance to have a quick test and the app now works. Yay :D
     
  14. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
  15. Vojvoda

    Vojvoda Well-Known Member

    Joined:
    Jan 31, 2015
    Ratings:
    +145 / 0 / -0
    @pixeljetstream CSV file it's attached, is a "formation lap" with FR35 in rF2.
    Many thanks!

    Note: Uncompressed file size is 31.017 KB
     

    Attached Files:

  16. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    The race replay tool is current being very awesome indeed :)
     
  17. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    Lots of new features and some fixes. Thanks to @Vojvoda for feedback.

    The CSV formating was changed to be easier importable by other tools and one can save the entire session (one or multiple trace files) as single big csv file, whose "time" will be treated continuously.

    The biggest visible change is that the ui is now made of dockable windows, which allows free customization of the app and is the first necessary step to allow new graph views. Intended are line and bar graphs as well as 2d scatter plot.

    [​IMG]
    • Settings stored in ini file (window layout...) /AppData/RaceTraceViewer.ini
    • Customizable UI (dockable windows)
    • New file menu entry to store entire session with all properties as csv
    • No longer print values as vectors, better to work with X,Y,Z properties
    • "config.viewer.convertvalues" (default:true) to convert radians to degrees and m/s to km/h
    • Statistics for properties (lap min, max, average) as well as gradient display
    • Bug fixes (pan, range)
    The new graphs will be a bit more work, so the next feature will be custom calculated properties. Which will allow people to create new properties from others by scripting how they should be calculated.
     
    • Like Like x 2
    • Love it! Love it! x 1
    • Wonderful Wonderful x 1
    Last edited: Aug 30, 2015
  18. Vojvoda

    Vojvoda Well-Known Member

    Joined:
    Jan 31, 2015
    Ratings:
    +145 / 0 / -0
  19. Mich Angel

    Mich Angel Well-Known Member

    Joined:
    Feb 16, 2015
    Ratings:
    +216 / 0 / -0
    This is so awesome just what I been looking for :D I'll try it out right away :D thank you for all your work you put in to this :D
     
  20. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    Thanks

    @Vojvoda will look into it end of the week. I will not store the "all drivers" data for tracing, as it would waste a lot of memory and it's not really useful for sake of telemetry given the way the data is organized.
    From glancing over your diff, I didn't see an error on your end. I've just pushed some small changes to allow loading of older files.
     
    • Like Like x 1
    Last edited: Nov 11, 2015