Use robot capabilities
Please fill out the following before requesting review on this PR
Description
Added the ability to state whether or not certain robots have broken dribblers, kickers, or chippers using checkboxes for each robot id under the Parameters widget in Thunderscope. For instance, if you check the checkbox for Robot 2's dribbler, Robot 2 shouldn't be assigned any tactics that involve dribbling. Also added tests for this functionality, and updated many tactics' required RobotCapabilities.
Testing Done
Added tests in sensor_fusion to check that when the protos used to describe which robots have broken dribblers/kickers/chippers are changed, the specific robot's unavailable capabilities are also changed accordingly. Also observed the correct robot behaviour in Thunderscope.
Resolved Issues
resolved #3371
Length Justification and Key Files to Review
Review Checklist
It is the reviewers responsibility to also make sure every item here has been covered
- [X ] Function & Class comments: All function definitions (usually in the
.hfile) 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. - [ X] Remove all commented out code
- [X ] Remove extra print statements: for example, those just used for testing
- [X ] Resolve all TODO's: All
TODO(or similar) statements should either be completed or associated with a github issue
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This PR was closed because it has been stalled for 5 days with no activity.