For IPv4 addresses sending/receiving, bind to a specific interface [addresses the problem last year where we needed to launch Thunderscope a few times to bind to the correct IP address]
Update UDP listeners/senders to reduce unexplainable crashes in python
Thunderscope parameter widget to allow changing binded network interfaces on the fly
How can you test?
Play around with ./tbots.py run thunderscope_main --run_blue --run_diagnostics --disable_communcation
Testing Done
At home with different gamecontroller instances on my home network. The video binds to my local interface first, then an interface that isn't connected to a network and then a home interface that had a gamecontroller instance on it.
It is the reviewers responsibility to also make sure every item here has been covered
[ ] Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
[ ] Remove all commented out code
[ ] Remove extra print statements: for example, those just used for testing
[ ] Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue
Description
Summary of changes:
How can you test? Play around with
./tbots.py run thunderscope_main --run_blue --run_diagnostics --disable_communcation
Testing Done
At home with different gamecontroller instances on my home network. The video binds to my local interface first, then an interface that isn't connected to a network and then a home interface that had a gamecontroller instance on it.
https://github.com/UBC-Thunderbots/Software/assets/42703774/48152c3c-bcd3-42c3-a87c-6cd76330ad1c
Resolved Issues
Length Justification and Key Files to Review
Review Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.h
file) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom
. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO
(or similar) statements should either be completed or associated with a github issue