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

Application Refresh Rate #33

Open
Kurosar opened this issue Feb 12, 2021 · 1 comment
Open

Application Refresh Rate #33

Kurosar opened this issue Feb 12, 2021 · 1 comment

Comments

@Kurosar
Copy link

Kurosar commented Feb 12, 2021

Hello there,

It seems like the application freezes every second or so (I guess it's the rate at which the app collects data and refreshes the map/data).

So if you click a button on the app just before it refreshes the data, you experience a sort of "freeze" very briefly, which doesn't help to make the map/app feel smooth to use.

Would it be possible to maybe delegate the data/refresh part in a separate thread or something like that, so we don't get these freeze every seconds ?

@mracko
Copy link
Owner

mracko commented Feb 22, 2021

The freezes you see are caused by a delay in data coming from the sim to the app. The app can read out data from the sim at a refresh rate of about 1.5 seconds. Thankfully, pushing data from the app to the sim doesn't have this problem. One way of solving this latency issue is to port the SimConnect part of the app to C++, but I have no C++ experience.

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