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

Fix throttle #190

Merged
merged 3 commits into from
May 7, 2020
Merged

Conversation

efernandez
Copy link
Collaborator

This fixes some issues with the ThrottledCallback logic:

Instead of setting to now, which could be larger than the expected call
time.
We cannot use isValid because that does not check the last called time
is zero, but a completely different thing. We must use isZero.
@efernandez efernandez self-assigned this May 6, 2020
@efernandez efernandez added the bug Something isn't working label May 6, 2020
@svwilliams svwilliams merged commit 53752ee into locusrobotics:devel May 7, 2020
@efernandez efernandez deleted the fix-throttle branch May 22, 2020 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

3 participants