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

Solo offense #2253

Open
wants to merge 8 commits into
base: ros2
Choose a base branch
from
Open

Solo offense #2253

wants to merge 8 commits into from

Conversation

rishiso
Copy link
Contributor

@rishiso rishiso commented Apr 24, 2024

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

  1. Force one robot to be SoloOffense through RobotFactory Position
  2. 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.

  • Step 1
  • Step 2

@sanatd33 sanatd33 marked this pull request as ready for review April 24, 2024 23:44
sanatd33 and others added 3 commits April 28, 2024 18:51
automated style fixes

Co-authored-by: sanatd33 <sanatd33@users.noreply.github.com>
automated style fixes

Co-authored-by: sanatd33 <sanatd33@users.noreply.github.com>
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.

None yet

3 participants