Skip to content

Commit

Permalink
Fix: TypeError in go to defense position (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayin21 authored Apr 20, 2024
2 parents d175b83 + 692f946 commit c766856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ def perform(self, reevaluate=False):
# center point between ball and own goal
pose_msg.pose.position.x = (goal_position[0] + ball_position[0]) / 2
pose_msg.pose.position.y = ball_position[1] / 2 + self.y_offset
pose_msg.pose.orientation.w = 1
pose_msg.pose.orientation.w = 1.0

self.blackboard.pathfinding.publish(pose_msg)

0 comments on commit c766856

Please sign in to comment.