Skip to content

Commit

Permalink
Increase max_attempts for teleport ball
Browse files Browse the repository at this point in the history
  • Loading branch information
flimdejong committed Dec 3, 2024
1 parent ee75ee6 commit 5e077f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roboteam_ai/src/RL/env2.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def teleport_ball_with_check(self, x, y):
Returns:
bool: True if teleport succeeded, False otherwise
"""
max_attempts = 15
max_attempts = 25
for i in range(max_attempts):
try:
teleport_ball(x, y) # Teleports ball to input of the function
Expand Down

0 comments on commit 5e077f0

Please sign in to comment.