Conversation
| GOALIE --> $CountActiveRobotsWithoutGoalie | ||
| ZERO --> #SearchBall | ||
| ELSE --> #RolePositionWithPause | ||
| ELSE --> #SearchBall |
There was a problem hiding this comment.
I think only the striker should search the ball all others should go to the role position like we do during normal play. But I would change it so all robots do the wait + turn for a few seconds, but then only the config striker goes to search the ball and all others do to the role positions. If we add this to the search ball tree we can reuse it here with a simple ball seen decision.
There was a problem hiding this comment.
Since a change after the IFA game, where the config striker was out of field and no one else was searching the ball, this is the same behavior as during normal play. #1057 describes this problem further. We should find a solution where the decision who searches is not only based on the config role, to make sure exactly one robot does the search behavior in any cases. I like the idea of a U-Turn for all at the beginning, but would handle that in the fix for the other Issue, since it is not directly related to the problem of using the positioning capsule in a wrong moment
Summary
Quick solve for #1084. It produces a code duplication of the suboptimal code from #1057. I will comment there, that we remember to duplicate our solution there too.
Checklist
pixi run build