UBC-Thunderbots / Software

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

Fix AttackerTactic occasionally not passing the ball #3233

Open nimazareian opened 2 weeks ago

nimazareian commented 2 weeks ago

Description of the task

test_shoot_or_pass_play in shoot_or_pass_play_test.cpp is undeterministic due to the attacker robot sometimes going to kick the ball and not kicking it. This causes the play to transition to TakePassState_S with shouldAbortPass guard not allowing it to transition out due to the ball remaining in the passing point.

:exclamation: This play will be likely deleted soon with the new offense rewrite.

Acceptance criteria

Blocked By