RoboJackets / robocup-software

Georgia Tech RoboJackets Software for the RoboCup Small Size League
Apache License 2.0
183 stars 187 forks source link

Solo offense #2253

Closed rishiso closed 1 month ago

rishiso commented 7 months ago

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

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.