UBC-Thunderbots / Software

Robot Soccer Playing AI
http://www.ubcthunderbots.ca
GNU Lesser General Public License v3.0
53 stars 110 forks source link

[Gameplay] PassDefenders should get the ball if the pass was deflected #3221

Open itsarune opened 4 months ago

itsarune commented 4 months ago

Currently if the pass is intercepted and slightly deflected off of the pass defender, the pass defender goes back to BlockPassState leaving the ball. However, if we can reach the ball before the enemy can (+ some buffer), we should go and steal the ball. This could be done by potentially adding a more general new state for stealing the ball from the enemy, which could be independent of the ball being deflected or not.