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

Replace player number with jersey number #1449

Open
wants to merge 72 commits into
base: main
Choose a base branch
from

Conversation

MaikRe
Copy link
Contributor

@MaikRe MaikRe commented Sep 19, 2024

Why? What?

This takes apart the double task that player number was performing and splits it into jersey number and behavior dependent on active field robots, regardless of their jersey number.

Created to replace #1021 in order to not do double work on refactoring the behavior simulator.

ToDo / Known Issues

Depends on #1428
Fixes #1417
Fixes #1298

  • Fix sacrificial lamp somehow as right now the chosen robot is hard coded based on jersey number
  • Fix robot initial pose order in localization
  • Fix robot initial pose order in behavior simulator
  • Handle role assignment correctly, what do we need to prioritize? Is it possible to set offensive and defensive strategies and decide based on that?
  • HULKs aufstellung in intercept ball?
  • Handle replacement keeper delay, probably via leading edge detection on replacement keeper priority
  • Look at referee, check which positions need to do this
  • Goal keeper should have widestance action in node.rs
  • cleanup

Ideas for Next Iterations (Not This PR)

  • Consider when and how goal keeper should perform widestance. Currently in intercept ball since he is the only player on the field he becomes striker and thus does not perform widestance. Is this the desired behavior?

How to Test

@MaikRe MaikRe self-assigned this Sep 19, 2024
@MaikRe MaikRe force-pushed the 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20 branch 2 times, most recently from 0a55ea8 to 6f203d9 Compare September 22, 2024 11:01
@MaikRe MaikRe force-pushed the 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20 branch from 859349a to 3f9bcc8 Compare October 7, 2024 13:01
@MaikRe MaikRe force-pushed the 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20 branch 2 times, most recently from fc8b4b9 to 1d0948d Compare October 14, 2024 14:03
@MaikRe MaikRe force-pushed the 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20 branch from 1d0948d to 2f51548 Compare October 16, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

impl Substitutes post-game task: 4 on 7 collisions during walk-in
2 participants