Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repurpose the "Sim/Real Time" field on the sim control panel #1626

Closed
alexlin0 opened this issue Dec 19, 2023 · 0 comments
Closed

Repurpose the "Sim/Real Time" field on the sim control panel #1626

alexlin0 opened this issue Dec 19, 2023 · 0 comments

Comments

@alexlin0
Copy link
Contributor

The Sim/Real Time field is nearly useless. It almost always reads 1.0. It shows the desired real time clock ratio between sim and real time. Nearly all users either run in straight realtime or non-realtime mode and the field reads 1.0. It's only when someone uses the throttle does it change to something else. I want to repurpose the field to show the actual sim/real time ratio.

alexlin0 added a commit that referenced this issue Dec 19, 2023
Added calculations in the realtime sync monitor job to calculate the
average sim/realtime ratio for the past 100 frames.  This is saved to
a new variable, actual_run_ratio.  Changed the sim control panel to
display the actual_run_ratio value.
alexlin0 added a commit that referenced this issue Dec 19, 2023
how does this compile locally but not in CI?  Didn't include cmath.
sharmeye pushed a commit that referenced this issue Jan 23, 2024
…1627)

* Repurpose the "Sim/Real Time" field on the sim control panel #1626

Added calculations in the realtime sync monitor job to calculate the
average sim/realtime ratio for the past 100 frames.  This is saved to
a new variable, actual_run_ratio.  Changed the sim control panel to
display the actual_run_ratio value.

* Repurpose the "Sim/Real Time" field on the sim control panel #1626

how does this compile locally but not in CI?  Didn't include cmath.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants