Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
von-bis-public
VectorProjects
Yoshi
Commits
1bbe61c8
Commit
1bbe61c8
authored
Feb 29, 2020
by
JoelMXLinux
Browse files
Corrected Rotation Count
parent
ec2cb759
Changes
1
Show whitespace changes
Inline
Side-by-side
navigation.py
View file @
1bbe61c8
...
...
@@ -45,7 +45,7 @@ def search(robot, predictor):
result_of_search
=
None
i
=
1
i
=
0
while
result_of_search
is
None
:
if
i
>
2
:
...
...
@@ -57,7 +57,6 @@ def search(robot, predictor):
robot
.
behavior
.
turn_in_place
(
degrees
(
96
))
result_of_search
=
evaluate_picture
(
robot
,
predictor
,
BALLOON_SIZE_MM
)
print
(
'Result of Search: '
,
result_of_search
)
i
+=
1
return
result_of_search
if
__name__
==
'__main__'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment