Skip to content

Improve defense against chipped balls #3375

@itsarune

Description

@itsarune

Description of the task

RiOne (at RoboCup 2024) often were able to chip over our robots and get into a good scoring robots near our net. We don't defend against these chips well. This task involves improving our defense against these types of threats.

Your task:

  1. Improve getAllEnemyThreats() to handle the possibility that a robot can perform chipped passes. In particular, it seems that getNumPassesToRobot assumes that the enemy team can only do ground passes.
  2. Add tests to defense_play_test.py and enemy_free_kick_play_test.py to test chipped pass possibilities and validate that there are defenders around those threats

Acceptance criteria

Blocked By

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty - 7Well-defined tasks that require some understanding about the relevant system and toolsGameplay

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions