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

Throttle frame interval when unplugged #709

Merged
merged 1 commit into from
Oct 13, 2017
Merged

Conversation

frederoni
Copy link
Contributor

@frederoni frederoni commented Oct 13, 2017

Fixes #370, #705

This PR throttles the frame rate to ~5 FPS when 10 seconds away from previous maneuver and 30 seconds until upcoming maneuver when the device is unplugged.

@bsudekum @1ec5 👀

Copy link
Contributor

@bsudekum bsudekum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me. The only other case where I think we might want to do some testing around FPS is whilst moving off the route -> rerouting.

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

Successfully merging this pull request may close these issues.

2 participants