Software icon indicating copy to clipboard operation
Software copied to clipboard

Use robot capabilities

Open wmostrenko opened this issue 10 months ago • 2 comments

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 .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.
  • [ 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

wmostrenko avatar Feb 22 '25 05:02 wmostrenko

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.

github-actions[bot] avatar Apr 22 '25 03:04 github-actions[bot]

This PR was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Apr 27 '25 03:04 github-actions[bot]