Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Jan 7, 2025
1 parent 3f8512e commit f3a8e91
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def perform(self, reevaluate=False):
ball_position = self.blackboard.world_model.get_ball_position_uv()

self.publish_debug_data("ball_position", {"u": ball_position[0], "v": ball_position[1]})
self.publish_debug_data("smoothing_close", f"{self.no_near_decisions} ({self.no_near_decisions / self.smoothing * 10}%)")
self.publish_debug_data(
"smoothing_close", f"{self.no_near_decisions} ({self.no_near_decisions / self.smoothing * 10}%)"
)

# Check if the ball is in the enter area
if 0 <= ball_position[0] <= self.kick_x_enter and 0 <= abs(ball_position[1]) <= self.kick_y_enter:
Expand Down

0 comments on commit f3a8e91

Please sign in to comment.