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

disallow instant kicks in penalty shootout and penalty kick #1177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vivituhh
Copy link
Contributor

Why? What?

Tests for penalty shootout looked better without instant kicks. In my opinion a little jockeling is fine in this phase.
More small changes to addresses #546.

Fixes #

ToDo / Known Issues

If this is a WIP describe which problems are to be fixed.

  • should be tested again on the field

Ideas for Next Iterations (Not This PR)

If there are some improvements that could be done in a next iteration, describe them here.

How to Test

Use GameController in Penalty Shootout with a HULKs striker and compare main against this.

@Vivituhh Vivituhh added test:Field Needed This needs testing on a physical field with real robots. RC24 labels Jul 14, 2024
Copy link
Contributor

@oleflb oleflb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor thing, also still requires testing

@@ -154,6 +154,20 @@ fn collect_kick_targets(
})
);

let is_penalty_shoot = matches!(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer matching both patterns simultaneously using | and only one matches!

@oleflb oleflb self-assigned this Jul 14, 2024
@schluis schluis removed the RC24 label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test:Field Needed This needs testing on a physical field with real robots.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants