Commit 1bbe61c8 authored by JoelMXLinux's avatar JoelMXLinux
Browse files

Corrected Rotation Count

parent ec2cb759
...@@ -45,7 +45,7 @@ def search(robot, predictor): ...@@ -45,7 +45,7 @@ def search(robot, predictor):
result_of_search = None result_of_search = None
i = 1 i = 0
while result_of_search is None: while result_of_search is None:
if i>2: if i>2:
...@@ -57,7 +57,6 @@ def search(robot, predictor): ...@@ -57,7 +57,6 @@ def search(robot, predictor):
robot.behavior.turn_in_place(degrees(96)) robot.behavior.turn_in_place(degrees(96))
result_of_search = evaluate_picture(robot, predictor, BALLOON_SIZE_MM) result_of_search = evaluate_picture(robot, predictor, BALLOON_SIZE_MM)
print('Result of Search: ', result_of_search) print('Result of Search: ', result_of_search)
i+=1
return result_of_search return result_of_search
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment