Skip to content

Commit a3faf12

Browse files
committed
update format
1 parent 71691e0 commit a3faf12

File tree

1 file changed

+1
-1
lines changed
  • bitbots_behavior/bitbots_body_behavior/bitbots_body_behavior/behavior_dsd/actions

1 file changed

+1
-1
lines changed

bitbots_behavior/bitbots_body_behavior/bitbots_body_behavior/behavior_dsd/actions/go_to_ball.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, blackboard, dsd, parameters):
2828

2929
def perform(self, reevaluate=False):
3030
ball_position_y_relative = self.blackboard.world_model.get_ball_position_uv[1]
31-
self.side_offset = -1 * math.copysign(self.side_offset,ball_position_y_relative)
31+
self.side_offset = -1 * math.copysign(self.side_offset, ball_position_y_relative)
3232
pose_msg = self.blackboard.pathfinding.get_ball_goal(self.target, self.distance, self.side_offset)
3333
self.blackboard.pathfinding.publish(pose_msg)
3434

0 commit comments

Comments
 (0)