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

Print statistics on exit #2

Open
wants to merge 2 commits into
base: feature/cv2window
Choose a base branch
from

Conversation

hello-binit
Copy link

This PR changes docking demo to print statistics on exit, like:

  • total time
  • avg voltage
  • avg current
  • avg temp
  • and other charge state info

Testing

Check out this branch and launch the demo using python docking_demo.py. When the program ends, or you Ctrl + C out of the program, you should see the following printed out (sometimes an exception from a separate thread will print out afterwards, but as long as the statistics is printed out, the test has passed).

Screenshot from 2024-10-22 13-37-24

Merging

Wait for #1 to merge before merging this PR.

Includes total time, avg voltage, current, temp,
and other charge state info
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.

1 participant