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

Robot Too Close To Opponent Defense Area repeated every 2 seconds #76

Open
g3force opened this issue Feb 15, 2024 · 0 comments
Open

Robot Too Close To Opponent Defense Area repeated every 2 seconds #76

g3force opened this issue Feb 15, 2024 · 0 comments

Comments

@g3force
Copy link
Member

g3force commented Feb 15, 2024

Current rules

During stop and free kicks, before the ball has entered play, all robots have to keep at least 0.2 meters distance to the opponent defense area.

There is a grace period of 2 seconds for the robots to move away from the opponent defense area.

Issues

If a robot keeps standing too close to a penArea, the foul is counted repeatedly every 2 seconds. As this also applies to STOP, this can quickly become annoying.

Possible Solutions

  • Only raise foul, if bot was near defense area within last 2 seconds before game continued
  • Halt the game after foul to avoid multiple fouls
  • Only count first time as foul, but repeat it anyways? Solves the problem only partially.
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

No branches or pull requests

1 participant