Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gameplay] Fix FreeKickPlay and convert it into using FSMs #2950

Closed
3 tasks
raymond212 opened this issue Jun 26, 2023 · 0 comments · Fixed by #2953
Closed
3 tasks

[Gameplay] Fix FreeKickPlay and convert it into using FSMs #2950

raymond212 opened this issue Jun 26, 2023 · 0 comments · Fixed by #2953
Assignees

Comments

@raymond212
Copy link
Contributor

Description of the task

FreeKickPlay is currently implemented with coroutines, and we want to use FSMs for our plays instead.

SSL Free Kick Rules: Once the ball is in play, another robot must touch the ball before the kicker touches it again. In other words, dribbling is not allowed.

Our current free-kick implementation will sometimes result in illegal behaviour because the kicker will begin to dribble the ball immediately.

We should also attempt to score directly from a free kick if there is a clear shot. Currently, this is not yet implemented.

Acceptance criteria

  • Convert FreeKickPlay to use FSMs
  • Attempt to score directly if possible
  • Ensure that free kick behaviour adheres to SSL rules

Blocked By

@raymond212 raymond212 self-assigned this Jun 26, 2023
@raymond212 raymond212 changed the title Fix FreeKickPlay and convert it into using FSMs [Gameplay] Fix FreeKickPlay and convert it into using FSMs Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant