RoboJackets / robocup-software

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

Adaptive Formation/Adaptive Defence need to be split/refactored to work in the Situation Analysis system #1344

Closed liquidmetal9015 closed 4 years ago

liquidmetal9015 commented 5 years ago

Description

This is related to #1343 and #1345 in that it would solve those issues, but it would be good to have the split version of adaptive in addition to other plays for those two situations.

We have a play called adaptive formation that has been our best omni-play so far. But now that we are moving to situation analysis based plays we need to convert it into an "attack goal" play with just its offensive components and an "defend goal" play with just its defensive components. There was some work done on an "Adaptive Defense" that Allen, Tanner, and Joe were involved in that should also be integrated into the "defend goal" play.

Notes about design

Just to reiterate: The attack goal situation is active when we have the ball (the ball is exclusively in our robots mouth) and we are within shooting range, which is anywhere on our opponents side of the field. The defend goal situation is basically the inverse, where our opponents have the ball and are in shooting range.

For this particular defend goal play it may be favorable to just keep the default defense as that is how it was designed to operate.

Requirements

Jason27chan commented 4 years ago

adaptive defense has been added as a play renamed as winger wall. See here

Jason27chan commented 4 years ago

As of right now, the adaptive formation play only controls the offensive capabilities, so we can use it as a attack goal situation.