[REL] TinyPedal - open source overlay APP for rF2 (Radar,Pedal,FFB,Deltabest,Relative,Fuel calculator)

Discussion in 'Other' started by svictor, Mar 14, 2022.

Tags:
  1. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    v1.1.9 update - Important bugfix for relative widget
    See newer version for further bugfix.

    This update mainly fixed a player index mismatch issue that breaks Relative widget.
    Please lemme know for any further issues found in APP.

    TinyPedal 1.1.9 (2022-04-18)
    ----------------------------
    * Relative
    - Fixed a player index mismatch issue that happens in multilayer session when a player leaves server,
    which interrupts Relative data calculation and halt APP.

    * Core
    - Improved setting code, removed unnecessary setting groups.
    - Optimized widget code structure, removed redundant codes, easier to create new widget.
    - Simplified widget module import method, removed repetitive references.
    - Improved setting auto-sorting, moved "overlay" setting back to the top of the JSON file.
     
    Last edited: Apr 19, 2022
    Corti and Reiche like this.
  2. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    741
    Likes Received:
    535
    I tested now and the bug still happening, when someone leaves the server everything stops, despite that I kept on track and when other car entered the server the hud started to work again.
     
    svictor likes this.
  3. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    I see, I'll need to find some one help testing, as I can't test it alone in server.

    Edit: finished rewriting some logic of relative code, but still waiting for some one who can help me testing. Will update as soon as tests done.
     
    Last edited: Apr 19, 2022
  4. cybe

    cybe Registered

    Joined:
    Aug 23, 2019
    Messages:
    25
    Likes Received:
    28
    I would help testing.
     
    svictor likes this.
  5. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    v1.1.10 update - Fixed APP freeze issue
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.1.10

    After a day of debugging & testing, the problem (was in fact affecting most of the APP) is now fixed.
    Thanks to friend Sendoh for helping & testing, and thanks for everyone's support.

    TinyPedal 1.1.10 (2022-04-19)
    ----------------------------
    * Core
    - Fixed shared memory access issue that freezes APP when a player leaves server in multiplayer session.
    - Improved relative calculation code.
     
  6. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    v1.1.11 update
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.1.11

    Thanks to DKxiaoming for helping testing, as well as DumiBirdF for technical advice.

    TinyPedal 1.1.11 (2022-05-03)
    * Pressure Widget
    - [New]Add option to display tyre load percentage ratio between left & right tyres of same axle (default on).

    * Core
    - Added APP running status check when starts TinyPedal,
    and shows notify & closes APP to prevent multiple TinyPedal APP from running at same time.
    - Removed unnecessary method from deltatime module.

    * pyRfactor2SharedMemory library
    - Now constantly updating player index number in a separated thread at 10ms refresh rate,
    which helps reduce large amount unnecessary repeated function calls.
    - Removed additional player index code that could freeze data reading in rare cases.
    - Removed duplicated calls to playersDriverNum() method.

    * Misc
    - Updated customization guide with new configurable setting for Pressure Widget.
    - Add new contributor to contributors.md.
     
  7. Taris Henrique

    Taris Henrique Registered

    Joined:
    Dec 15, 2015
    Messages:
    103
    Likes Received:
    106
    This is the best overlay out there since the GID - Global Info Display in the past years. Great job, keep working in this. Thanks for sharing.
     
    svictor, ebeninca and Corti like this.
  8. Manfredk2

    Manfredk2 Guest

    Is there a chance to include values like remaining session time(s) and the amount of already driven laps etc.?
     
    Rui Santos and svictor like this.
  9. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    Yes, I'll try find some time to do it... (isle of man AIW is taking most of my time atm)
     
    pkelly, ebeninca, Corti and 1 other person like this.
  10. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    v1.2.0 update - Session Widget (clock, timer, lap number, driver place)
    upload_2022-5-6_16-4-46.png
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.2.0

    TinyPedal 1.2.0 (2022-05-06)
    ----------------------------
    * [New]Session Widget
    - Show current system clock time, with customizable time format.
    - Show session timer, accuracy is limited by 200ms refresh rate of rF2 API.
    - Show driver's current lap number & max laps (if available), with customizable lap number description text.
    - Displays warning color if driver is about to exceed max-lap in qualify (or indicates the last lap of a lap-type race).
    Note: if warning color appears in qualify, it means you have already reached max allowed laps.
    Do not attempt to across finish line, but ESC immediately to avoid DQ.
    - Show driver's current place against all drivers in a session.

    * Misc
    - Updated customization guide with new configurable setting for Session Widget.
    - Updated features.md with Session Widget info.

    Session Widget customization guide:
    https://github.com/s-victor/TinyPedal/wiki#session

    :)
     
  11. speedo59

    speedo59 Registered

    Joined:
    Dec 11, 2011
    Messages:
    55
    Likes Received:
    5
    Hello to you,
    your app is great, it just needs a radar application
    thank you again for sharing your work
     
    Corti and svictor like this.
  12. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Hi Victor.
    Thank you for your overlay.
    I've a wish.
    If i understand this correctly:
    • Driver's current lap is the current lap of the session
    • Max laps (if available) are the total laps of the session
    Coud be possible to have also:
    • Driver's current lap with the current tyres.
    • Max laps with the current tyres, taking in account the wear of the previous lap.
    This would be very useful to do the strategy and to adapt the pace during the race.

    Thank you very much.
     
    Corti, svictor and Rui Santos like this.
  13. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Reiche likes this.
  14. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    Hi, that's a very good idea, I think this can be implemented in "Wear widget", as it is already keep tracking wear of last lap. I'll probably just need to add an extra (or two) panel for it and do the calculation stuff. I'll see what I can do. Thanks!

    Edit:
    About radar, it is definitely possible, but will require time to research and code (as well as the limitation that the GUI interface has). So it is a tough task I hope to do it after new Isle of man update is done (it will still take a month or two as there are many things I want to improve & add).
     
    Last edited: May 6, 2022
    datasting, lagg, yashiman and 3 others like this.
  15. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,363
    Likes Received:
    2,530
    oh mi gran amigo, you are fantastic!
    regards :)
     
    lagg and svictor like this.
  16. Manfredk2

    Manfredk2 Guest

    lagg, Corti and svictor like this.
  17. coasting&cruising

    coasting&cruising Registered

    Joined:
    Aug 16, 2021
    Messages:
    108
    Likes Received:
    47
    Hi, I have a suggestion for a new widget/overlay on "car balance" (useful for practicing or working on setups):

    * Tire loads (x 4 values), displayed as bars/colors (rather than numbers as in the current tire widget).
    * Longitudinal tire load balance (front vs rear ratio), displayed as bars/colors
    * Tire grip (x 4 values), displayed as bars/colors
    * Longitudinal tire slip or lockup (x 4 values), displayed as bars/colors
    * Lateral tire slip or lockup (x 4 values), displayed as bars/colors
     
    svictor and Reiche like this.
  18. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Thank you, Victor.
    That would be fantastic.
     
    svictor likes this.
  19. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    741
    Likes Received:
    535
    With these new btcc cars, I think we gonna need a Push to pass indicator.

    Svictor gonna be crazy with the amount of work.
     
    svictor likes this.
  20. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    935
    Likes Received:
    6,344
    I'm not sure if sharedmemory has provided "push to pass" data, as it is a new thing and wasn't mentioned in current API.

    I do plan to add a new vehicle instrument widget that will show all kinds of switches like headlights, ignition starter, etc.

    Of course, since there are more and more widgets made available, it is important for me to design them carefully, to be efficient, clear and compact, so that them don't overwhelm the driving screen.
     
    Last edited: May 10, 2022

Share This Page