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

Stats printing taking up large amounts of CPU #16

Open
OccultSlolem opened this issue Feb 1, 2020 · 0 comments
Open

Stats printing taking up large amounts of CPU #16

OccultSlolem opened this issue Feb 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@OccultSlolem
Copy link
Contributor

The printing of statistics on our robot appears to cause a problem in which it takes up over 95% of CPU, causing extremely large packet loss and massive input lag. Printing of stats during teleop has been commented out, but ideally we'd have that in the actual code. So the goal is to get the printing going without tanking the RIO's CPU. See the attached log screenshots for more information.

Packet loss: https://prnt.sc/qw7plh
RIO CPU: https://prnt.sc/qw7prr

@OccultSlolem OccultSlolem added the bug Something isn't working label Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant