Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
f0409165
Commit
f0409165
authored
Jul 07, 2017
by
drallensmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing version w/Reorient
parent
e4d74cd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
tests/test_with_server.py
tests/test_with_server.py
+3
-5
No files found.
tests/test_with_server.py
View file @
f0409165
...
...
@@ -61,13 +61,11 @@ def test_with_server():
state
=
try_step
()
for
x
in
range
(
0
,
2
0
):
for
x
in
range
(
0
,
2
5
):
if
int
(
state
[
12
])
==
1
:
# can kick the ball
hfo_env
.
act
(
hfo
.
DRIBBLE
)
elif
(
x
%
2
)
!=
0
:
hfo_env
.
act
(
hfo
.
MOVE
)
elif
int
(
state
[
50
])
==
1
:
# can see the ball
hfo_env
.
act
(
hfo
.
GO_TO_BALL
)
elif
(
state
[
50
]
<
0
)
or
(
state
[
0
]
<
0
)
or
(
state
[
1
]
<
0
)
or
(
state
[
54
]
<
0
):
hfo_env
.
act
(
hfo
.
REORIENT
)
else
:
hfo_env
.
act
(
hfo
.
MOVE
)
...
...
Write
Preview
Markdown
is supported
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