Pit to car radio app available - work in progress

Discussion in 'Community Workshop' started by mr_belowski, Jun 24, 2015.

  1. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    you run it, then start RaceRoom (leaving this app running in the background) and it monitors some data that RaceRoom produces as you drive - stuff like car damage, gaps in front & behind, pit window open / close times etc. Based on this information it plays sound files.

    Basically it acts like a race engineer telling you useful stuff over the radio.

    I'm about to update it actually - in the next 10 mins there should be a new version :)
     
    • Like Like x 1
  2. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    Righty, 1.9.5 is now out, same download as before

    For those that want to know, under the hood the app is quite simple. RaceRoom writes data to a shared memory location - think of it as a file. This is updated 400 times per second and includes lots of info about what's happening on track and to the player's car.

    All my app does it read this info and make some guesses about what the player might want to know. For example, when he crosses the start line in qualifying I use the laptime, the position, and the gap to the pole position time to generate a sound that says something like "that was a 1:32.2, you're in 5th, you're 1.2 seconds off the pace"
     
    • Like Like x 3
  3. MPN64

    MPN64 Well-Known Member

    Joined:
    Jul 1, 2015
    Ratings:
    +58 / 0
    FYI the zip is named 1.9.4 but the files seem to be updated;)

    Nice addition with the cut track warnings.Thanks I use it all the time!
     
    Last edited: Jul 27, 2015
  4. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    Thanks fella :)

    I noticed a small bug - one of the events spams the command window with 'checking gap' messages - shouldn't cause issues but I'll fix it for the next build
     
    • Informative Informative x 1
  5. Sm1ggs

    Sm1ggs Member

    Joined:
    Jul 24, 2015
    Ratings:
    +9 / 0
    thank you for this wonderful app
     
  6. seufmeister

    seufmeister Member

    Joined:
    Jul 19, 2015
    Ratings:
    +5 / 0
    ok. cool. thx. s.th. like dashboard. I will test it.
     
  7. Christian Göpfert

    Christian Göpfert Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,118 / 0
    Tnx for the update mr_b and welcome back, hope your vacation was nothing but pleasant.

    Really like the cut track warnings, but would it be possible to add a little delay on this one too? Just like half a second or so, right now they come in (too) immediately, breaks the immersion a bit imo.

    Cheers

    Christian
     
    • Like Like x 2
  8. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    Consider it done fella :)
     
    • Like Like x 1
  9. Christian Göpfert

    Christian Göpfert Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,118 / 0
  10. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    Just pushed up version 1.9.6 - found a nasty bug in the way I was calculating the race session length (it was actually using the length of the 'grid walk' phase). This broke some of the fuel use tracking
     
    • Like Like x 4
    • Winner Winner x 1
  11. Christian Göpfert

    Christian Göpfert Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,118 / 0
    [​IMG]

    And so are you. ;)

    Tnx.
     
    • Agree Agree x 1
    • Wonderful Wonderful x 1
  12. goldtop

    goldtop Well-Known Member

    Joined:
    Jun 18, 2015
    Ratings:
    +47 / 0
    I like this app and I don't usually bother with these things. Particularly like the calm and succinct comments which is a refreshing change from the usual "Yeeeehaaaaaw, awesome dude!" type of thing.

    Just hoping I don't get the dreaded "Fernando is faster than you" message;)

    Thanks for your continued hard work and for sharing this with us.
     
  13. le_poilu

    le_poilu Well-Known Member

    Joined:
    Jan 30, 2015
    Ratings:
    +272 / 0
    A big improvement of this app will be with a voice recognition ... I'me dying to be able to respond with something like :

    "Leave me alone, I know what I'm doing!"

    :rolleyes:
     
    • Like Like x 1
    • Funny Funny x 1
  14. nipzon

    nipzon Well-Known Member

    Joined:
    Jan 30, 2015
    Ratings:
    +59 / 0
    Or we get a comment like"You've wasted that lap by cutting a corner, calm down and concentrate"
     
    • Like Like x 1
  15. nipzon

    nipzon Well-Known Member

    Joined:
    Jan 30, 2015
    Ratings:
    +59 / 0
    Or "You're locking your front wheels, adjust brake bias please"
     
    • Like Like x 1
  16. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    I can add a 'you wasted that lap...' message easy enough.

    I've actually been wiring up voice recognition. I've got it to the point where you hold down a button on your steering wheel and it listens on the default audio input device (mic). This is processed by the ms speech recognition library, which works well.

    Next step is to link the recognised speech to events.

    All this requires the app to run as a windows 'forms' app rather than a command window so it's a lot of faffing
     
    • Like Like x 2
  17. heppsan

    heppsan Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +1,039 / 0
    I have had quite a lot of app breaks recently.
    Starting off good, but towards the end of the race I suddenly don't get any notifications anymore.
    And when I quit R3E I have got an error message "System.ArgumentOutOfRangeException. The Index was outside the interval"
     
  18. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    I'm looking into that Heppsan. It's quite hard to debug but I'll find it. Is it always the same error? Does is happen in the last 5 minutes of the race?
     
    • Like Like x 1
  19. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,283 / 0
    I've updated to 1.9.7 now - I did find a couple of issues where the 'push now' event wasn't handling arrays of data correctly (most likely cause of the bug), and I added some more range checking to the gap event
     
    • Like Like x 2
  20. heppsan

    heppsan Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +1,039 / 0
    Yes always the same error, and I think it's in the 5-10 minutes left of the race.
    Might be more common in the MP races, had several SP races today without any issues.

    Got a "Push, you can take him" on Nürbugring in DTM 2014 when I was in the lead. :)
    Might have been a delay thingy, I had taken the lead when passing the pits 3-4 turns earlier.