Skip to content

Throttle frame interval when unplugged - #709

Merged
frederoni merged 1 commit into
masterfrom
fred/throttle-uplugged
Oct 13, 2017
Merged

frederoni merged 1 commit into
masterfrom
fred/throttle-uplugged

Conversation

@frederoni

@frederoni frederoni commented Oct 13, 2017 •

Copy link
Copy Markdown
Contributor

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 👀

@frederoni
frederoni force-pushed the fred/throttle-uplugged branch from d2038df to da406d3 Compare October 13, 2017 00:14

@bsudekum bsudekum left a comment

Copy link
Copy Markdown
Contributor

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