Fixed critical bug in goal center detection

This commit is contained in:
2018-06-30 17:11:33 +02:00
parent 6d9d522692
commit b9d6898691
5 changed files with 12 additions and 6 deletions

View File

@@ -294,6 +294,7 @@ class Striker(object):
self.speak("Turn to ball")
self.turn_to_ball(x, y, tol=0.15)
self.speak('Trying to find the goal')
sleep(0.2)
goal_center_x = self.goal_search()
self.speak('Goal found')