Due to Comp 2024 limitation of shoot-only offense, this PR creates a 'Solo Offense' Position that assigns one robot to constantly follow the ball, either playing defense on another robot that has the ball or taking a shot toward the opposition goal.
Dependent on #2240, probably needs to be rebased once that is merged into ros2.
Steps to Test
Force one robot to be SoloOffense through RobotFactory Position
make run-sim
Expected result:???
The robot should track the ball and go for shots if the ball is not in possession by the opposing team.
Key Files to Review
solo_offense.cpp
solo_offense.hpp
Review Checklist
[ ] Docstrings: All methods and classes should have the file appropriate docstrings which follow the guidelines in the "Contributing" page of our docs.
[ ] Remove extra print statements: Any print statements used for debugging should be removed
[ ] Tag reviewers: Tag some people for review and ping them on Slack
(Optional) Sub-issues (for drafts)
Note: if you find yourself breaking this PR into many smaller features, it may make sense to break up the PR into logical units based on these features.
Description
Due to Comp 2024 limitation of shoot-only offense, this PR creates a 'Solo Offense' Position that assigns one robot to constantly follow the ball, either playing defense on another robot that has the ball or taking a shot toward the opposition goal.
Dependent on #2240, probably needs to be rebased once that is merged into ros2.
Steps to Test
Expected result:??? The robot should track the ball and go for shots if the ball is not in possession by the opposing team.
Key Files to Review
Review Checklist
(Optional) Sub-issues (for drafts)
Note: if you find yourself breaking this PR into many smaller features, it may make sense to break up the PR into logical units based on these features.