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

Rate limit control loop #10

Open
Grazfather opened this issue Sep 19, 2017 · 0 comments
Open

Rate limit control loop #10

Grazfather opened this issue Sep 19, 2017 · 0 comments

Comments

@Grazfather
Copy link
Contributor

Right now there's just a delay sleep(x) in every iteration of the main loop. This makes is so that the CAN messages can come in at an inconsistent rate. In text mode, the default delay was sending too many messages for the IC to keep up.

The loop should track how long since the last loop, and if it's going to fast, then sleep the appropriate amount of time.

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

1 participant