[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. Bernat

    Bernat Registered

    Joined:
    Jun 15, 2020
    Messages:
    757
    Likes Received:
    585
    TinyPedal is working very well here for the online races. The radar is specially useful to avoid accidents.

    I have a 144Hz monitor with settings changed in rFactor 2 to work at max 90Hz. No stutters

    It works wonderfully well.
     
    darkojovanoski1986 and svictor like this.
  2. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    tinypedal does not support VR natively. However there are users using one of the crewchief VR feature to project tinypedal overlay in VR with success, though I don't know the details.

    Due to limitation, currently it is only possible to capture tinypedal using "Display Capture".
     
  3. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    723
    Likes Received:
    222
    Hello, now i'm using VR and wanted to try TinyPedal in VR, because what else ? :cool: :D

    You will need CrewChief to achieve TinyPedal on VR ... It works perfectly an,d flawlessly.
    Here is a video i made :

    (Sorry for bad compression and no sound).

    Are there a way to get "full" coloured background of widgets ? Can't find the option ?

    In VR Overlays CrewChief reproduces the PC view and we see it behind partial widgets like Standings (Up left ).
    Transparency is not effective. The radar is the worst, i can't use it centered because of that "off" background.
    But radar is less effective in VR ...

    I would prefer to have a full grey or coloured background without transparency at all. Same for relatives.

    Is it possible ?

    Thanks.
     
    svictor likes this.
  4. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    Tinypedal v2 uses QT library's transparency rendering method. If transparency isn't supported by VR projector or some system(such as linux), unfortunately there is nothing can be done on the tinypedal side.

    As for customize solid background, I may be able to add a workaround, will need test.
     
    DanRZ likes this.
  5. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    723
    Likes Received:
    222
    Thanks, there is a tutorial i will check :


    Sorry if already posted here ...

    I can still use a fixed background, widgets on other screen with fixed background.
     
  6. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    I have just updated source code with new options & workaround for customization background:
    https://github.com/s-victor/TinyPedal

    If you wish to test now, you can try run the source code or package it yourself. At the moment there are some other unrelated changes may be coming so new release package hasn't been made yet.

    The new options info can be found in WIP changelog here:
    https://github.com/s-victor/TinyPedal/blob/master/docs/changelog.txt

    Note, for radar (and trackmap) widget, you have to change background color that is set in Radar Widget config dialog, and probably also need to disable the new option "show_fade_out". For other widget, you just need to change "global background color" option in Compatibility dialog.
     
    DanRZ and Corti like this.
  7. doublebidule

    doublebidule Registered

    Joined:
    Apr 2, 2023
    Messages:
    20
    Likes Received:
    6
    hi no zip for 2.2?
     
  8. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.2.0 (2023-10-27)
    https://github.com/s-victor/TinyPedal/releases/tag/v2.2.0
    * New Compatibility setting for customizing window background color for VR ( feature suggested by @DanRZ ).
    * New Linux installer, Wayland workaround, and bug fixes by Bernat. Thanks to @Bernat & alexbrrsclnt for helping with test.
    * New Speedometer Widget that shows minimum, maximum, fastest speed ( feature suggested by @ebeninca in https://forum.studio-397.com/index....ve-fuel-calculator.71557/page-15#post-1119545 ).

    Edit: windows executable file is now available at release page.
    Due to poor network connection for the past few days, I haven't been able to upload new build file for windows, the release page currently only has source code. I don't know when network will be better, but for the time being, new version can be run or build from source code by following instructions described at project home page.

    New entries in User Guide:
    Compatibility: https://github.com/s-victor/TinyPedal/wiki/User-Guide#compatibility
    Sectors module: https://github.com/s-victor/TinyPedal/wiki/User-Guide#sectors
    Speedometers widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#speedometer
    Radar widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#radar
    Friction Circle widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#friction-circle

    [​IMG]

    Full changelog
    • General
      • Add "enable_translucent_background" option in Compatibility,
        which turns off translucent background if disabled.
      • Add "global_bkg_color" option in Compatibility,
        which sets global background color for all widgets.
        Note 1, global background color will only be visible
        when "enable_translucent_background" option is disabled
        or translucent background is not supported by system.
        Note 2, some widgets with own background setting may override this option.
      • Fixed window color theme when system style is set to dark-mode.
    • Linux support
      • Add customizable installation path option for installer,
        improved installer error prompt,
        removing old files before installing (by Bernat).
      • Add workaround in launcher to force X11 session type
        which fixed non-draggable issue found on Wayland (by Bernat).
      • Fixed tray menu not synced with main Config window (by Bernat).
    • [New]Sectors Module
      • Separated sector time calculation from Sectors Widget to this new module.
    • Friction Circle Widget
      • Add "show_circle_background" & "bkg_color_circle" options,
        which shows customized circle background color.
        Note, the "show_background" option shows background color
        that covers entire Friction Circle widget.
      • Add "show_fade_out" option,
        which fades out circle background edge.
      • Add "fade_in_radius" & "fade_out_radius" options,
        which sets fade in/out radius, value range in 0.0 to 1.0.
      • Removed "background_style" option as replaced by "show_fade_out" option.
    • Radar Widget
      • Add "show_background" & "bkg_color" options,
        which shows customized radar background color.
      • Add "show_fade_out" option,
        which fades out radar edge.
      • Add "fade_in_radius" & "fade_out_radius" options,
        which sets fade in/out radius, value range in 0.0 to 1.0.
    • Sectors Widget
      • Now reads sectors data from Sectors Module.
      • Moved & re-implemented speed display to Speedometer Widget.
    • [New]Speedometer Widget
      • Show current vehicle speed.
      • Show minimum speed that is updated while off throttle.
      • Show maximum speed that is updated while on throttle.
      • Show fastest recorded speed.
        To reset current record, shift gear into reverse, or reload preset.
        See User Guide "Speedometer" section for details.
    • Misc
      • Updated README.md with Linux usage info (by Bernat).
      • Updated customization.md.
     

    Attached Files:

    Last edited: Oct 30, 2023
    elgagon, davehenrie, DanRZ and 5 others like this.
  9. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    723
    Likes Received:
    222
    Thanks for that upgrade.

    I have compiled the v2.2.0 for Windows, you can find it HERE
    ( I used Python 3.10.11 )
     
    Last edited: Oct 30, 2023
    svictor and elgagon like this.
  10. doublebidule

    doublebidule Registered

    Joined:
    Apr 2, 2023
    Messages:
    20
    Likes Received:
    6
    top thx
     
    svictor likes this.
  11. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    742
    Likes Received:
    538
    You need to use github actions in your repo to configure a build workflow, so it can auto-build and generate the zip file for you when you push a new tag, delicious like a cup of coffee.
     
    Last edited: Oct 30, 2023
    elgagon and svictor like this.
  12. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    Thank you all for the suggestions and help.

    I have just uploaded last windows build file to the release page (took an hour). Though network here is still very slow, even forum takes mins to load.
     
    ebeninca, davehenrie, DanRZ and 3 others like this.
  13. Lab Pong

    Lab Pong Registered

    Joined:
    Oct 6, 2022
    Messages:
    4
    Likes Received:
    1
    Sorry for dumb questions, after reading things I can't figure out a few things after getting this setup and working.

    How to I move the actual hud elements around on my screen?
    My track map just a circle, what have i not set correct there?
     
  14. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    1,083
    Likes Received:
    1,210
    1 - Simply use your mouse to position the elements where you want.
    2 - It's a round map while you don't complete a valid lap time.
     
    svictor likes this.
  15. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.3.0
    edit: see v2.3.1 hotfix
    [​IMG]
    This update adds a new Trailing Widget designed by @DanRZ , which shows pedal & FFB history plot. Big thanks to DanRZ's contribution.

    The new Trailing Widget comes with extensive customizable options. User can change display size, plot scale, plot orientation, flipping plot at all four directions, individual plot line color & width & style setting, as well as adding reference lines.

    Other changes include many small fixes, as well as new API control aimed at supporting other sims in the future.

    New user guide entries:
    https://github.com/s-victor/TinyPedal/wiki/User-Guide#trailing
    https://github.com/s-victor/TinyPedal/wiki/User-Guide#shared-memory-api

    2.3.0 (2023-11-11)
    • General
      • Fixed error in loading a different preset
        while previous preset is in saving process.
      • Change option name "rF2_process_id" to "process_id".
      • Rename unit option "elevation_unit" to "distance_unit",
        and currently is used by elevation & yellow flag distance display.
      • Fixed text string decode setting.
    • [New]Trailing Widget (designed by DanRZ)
      • Show pedal trail history plot display,
        includes throttle, brake, clutch, force feedback.
      • Customizable size, scale, style, orientation, reference lines, etc.
    • Relative Module
      • Fixed index out of range when returning
        to monitor while in spectate mode.
    • Shared memory API
      • Add API control & data adapter to support different sims API in the future.
      • Add API name selector in Shared memory API config dialog.
      • Show API name & version info on main window status bar.
    • Misc
      • Updated user guide.
      • Updated contributors.md with new contributor (DanRZ).
     

    Attached Files:

    • plot.png
      File size:
      32.6 KB
      Views:
      587
    Last edited: Nov 12, 2023
    kados, davehenrie, OneMoreOdd and 8 others like this.
  16. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.3.1 Hotfix
    https://github.com/s-victor/TinyPedal/releases/tag/v2.3.1

    * Trailing Widget
    - Fixed FFB plot not displaying full range (absolute value).
    - Fixed small desync issue between different pedal or FFB plots.

    * General
    - Removed string format on "id" key word.
    - Fixed fuel data loading error in fuel module.
     
    kados, datasting, Rui Santos and 5 others like this.
  17. David levis

    David levis Registered

    Joined:
    Jul 8, 2021
    Messages:
    8
    Likes Received:
    6
    Hi
    is there's a possibility to be added a option in the relative/standings to see how many laps have been done in the actual tyre compound for each driver?
     
  18. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    Hi,

    Thanks for suggestion, but sorry, the mentioned feature would not be added for a few reasons.

    First, the game does not give the suggested info available through API right away. To know how many laps a tyre has done, it requires manual tracking, that will be a lot data to process (multiplies amount players & status changes & each 4 tyres and resulting large data set, there is also potential de-sync issue that can result false data), and potentially slow down other data display in overlay.

    And the most important reason is that tyre compound data de-sync a lot in multiplayer session. It is often to see that opponents tyre compound data not updated by the time opponents finish their pit stop & tyre change, but only until a few laps later after pits. Sometimes de-sync can last as long as over 30mins and it also affects official broadcast overlay. Thus tyre compound data from opponents are not always accurate and reliable to begin with.

    In endurance races, it is also more complex due to driver swap, TinyPedal only reads & stores data when you are driving. So when you are not driving, opponent data is simply not tracked.

    TinyPedal is meant for real-time data display for local driver, and not intended to become a full analytic telemetry APP that tracks & analyzes everyone's data & history in deep levels. There are already some specialized telemetry APP (such as Second Monitor or rFactor2 Log Analyzer) that cover the more analytic & strategic areas.
     
    ebeninca, Reiche, DanRZ and 1 other person like this.
  19. David levis

    David levis Registered

    Joined:
    Jul 8, 2021
    Messages:
    8
    Likes Received:
    6
    Understood
    and thanks for the app
     
    svictor and Reiche like this.
  20. David levis

    David levis Registered

    Joined:
    Jul 8, 2021
    Messages:
    8
    Likes Received:
    6
    Hi again, I’m looking in user guide but didn’t see it if is possible to reset laptime of deltabar reference, and use the best session lap? Or is always comparing to your best laptime ever recorded?
     

Share This Page