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

Incorporate RingBuffer #1

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

Incorporate RingBuffer #1

wants to merge 7 commits into from

Conversation

21lik
Copy link

@21lik 21lik commented Mar 22, 2019

Updates RingBuffer
Changes usage of Deque in SericalPortSubsystem to RingBuffer - should save space
Needs testing

BeastRemus and others added 7 commits March 18, 2019 20:30
Instance fields min and max also added
Kept avg() and olympicAvg() return types as double
Changed some code in the process
Not tested yet
Calculates and updates min and max values
Automatically invoked by min and max methods if updated after last call of calculate method
calculate() should now update properly
justCalculated is true before adding any values
Changed instance field justCalculated to justComputed
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.

3 participants