class TimeoutExercise(TrainingExercise): grader: Grader = field( default_factory=lambda: CompoundGrader([FailOnTimeout(3.5)])) match_config: MatchConfig = test_match_config def make_game_state(self, rng: SeededRandomNumberGenerator) -> GameState: return GameState()
def __init__(self, timeout_seconds=4.5, min_exercise_duration=4, min_ball_displacement=100): super().__init__([ PassOnBallMoveFromKickoff(min_exercise_duration, min_ball_displacement), FailOnTimeout(timeout_seconds) ])
def __init__(self, timeout_seconds=10.0, min_dist_to_pass=200, target=Vector3(x=0, y=0, z=0)): super().__init__([ PassOnBallNearTarget(min_dist_to_pass=min_dist_to_pass, target=target), FailOnBallMissedTarget(target=target), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds=4.0, ally_team=0, timeout_override=False, ground_override=False): self.timeout_override = timeout_override self.ground_override = ground_override super().__init__([ PassOnGoalForAllyTeam(ally_team), FailOnBallOnGround(), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds=25.0): super().__init__([ GradeBasedOnKickoff(), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds=10, min_exercise_duration=4): super().__init__([ PassOnSlideComplete(min_exercise_duration), FailOnTimeout(timeout_seconds) ])
def __init__(self, timeout_seconds=4.0, min_dist_to_pass=200): super().__init__([ PassOnNearBall(min_dist_to_pass=min_dist_to_pass), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds=8.0): super().__init__([ PassOnSpawn(), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds=4.0, ally_team=0): super().__init__([ PassOnGoalForAllyTeam(ally_team), FailOnTimeout(timeout_seconds), ])
def __init__(self, timeout_seconds = 30, ally_team = 0): super().__init__([ PassOnGoalForAllyTeam(ally_team), FailOnTimeout(timeout_seconds), FailOnDropBallNotNearGoal(), ])