RoboJackets / robocup-software

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

New solo offense (old branch died) #2261

Closed rishiso closed 3 months ago

rishiso commented 5 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.