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
0f361781
Commit
0f361781
authored
Aug 08, 2017
by
drallensmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished action_chart
parent
f056dac5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1732 additions
and
21 deletions
+1732
-21
doc/manual.pdf
doc/manual.pdf
+0
-0
doc/manual.tex
doc/manual.tex
+21
-20
example/explore_offense_actions.twoplayer.py
example/explore_offense_actions.twoplayer.py
+1710
-0
example/explore_offense_actions_fullstate.twoplayer.v2.py
example/explore_offense_actions_fullstate.twoplayer.v2.py
+1
-1
No files found.
doc/manual.pdf
View file @
0f361781
No preview for this file type
doc/manual.tex
View file @
0f361781
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
\usepackage
[cm]
{
fullpage
}
\usepackage
[cm]
{
fullpage
}
\usepackage
{
enumitem
}
\usepackage
{
enumitem
}
\usepackage
{
subcaption
}
\usepackage
{
subcaption
}
\usepackage
{
color
}
\title
{
RoboCup 2D Half Field Offense
\\
Technical Manual
}
\title
{
RoboCup 2D Half Field Offense
\\
Technical Manual
}
\author
{
Matthew Hausknecht
}
\author
{
Matthew Hausknecht
}
...
@@ -613,29 +614,29 @@ below the table for the action abbreviations and notes.
...
@@ -613,29 +614,29 @@ below the table for the action abbreviations and notes.
\begin{center}
\begin{center}
{
\footnotesize
{
\footnotesize
\begin{tabular}
{
r | c c c c | c c c c
| c c c c c c c c
c c
}
\begin{tabular}
{
r | c c c c | c c c c
| c c c c c c c c
c c
}
Action
&
Da
&
Tu
&
Ta
&
K
&
KT
&
MT
&
DT
&
I
&
M
&
S
&
P
&
Dr
&
C
&
RG
&
DG
&
G
&
MP
&
Re
\\
Action
&
Da
&
Tu
&
Ta
&
K
&
KT
&
MT
&
DT
&
I
&
M
&
S
&
P
&
D
&
C
&
RG
&
DG
&
G
&
MP
&
Re
\\
\hline
\hline
\hline
\hline
Self position invalid
&
Y
&
Y
&
Y
&
Y
&
N
&
N
&
N
?
&
N?
&
N
&
N?
&
N?
&
Y
&
?
&
N
&
N
&
N
&
N
&
Y
\\
Self position invalid
&
Y
&
Y
&
Y
&
Y
&
N
&
N
&
N
&
N
&
N
&
N
&
N
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
\\
Self velocity invalid
&
N
&
Y
?
&
Y?
&
Y
&
?
&
N
&
N
&
N
&
N
&
?
&
?
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
\\
Self velocity invalid
&
N
&
Y
&
Y
&
Y
&
N
&
N
&
N
&
N
&
N
&
N
&
Y
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
\\
Ball position invalid
&
Y
&
Y
&
Y
?
&
N
&
N
&
Y
&
N
&
N
&
N
&
N
&
N
&
Y
&
N
&
N
&
N
&
N
&
N
&
Y
\\
Ball position invalid
&
Y
&
Y
&
Y
&
N
&
N
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
&
N
&
N
&
N
&
N
&
N
&
Y
\\
Ball velocity invalid
&
Y
&
Y
&
Y
&
?
&
?
&
Y
&
Y
&
N?
&
?
&
N
&
N?
&
Y?
&
Y?
&
Y
&
Y
&
Y
&
Y
&
Y
\\
Ball velocity invalid
&
Y
&
Y
&
Y
&
Y
&
N
&
Y
&
N
&
Y
&
Y
&
N
&
N
&
Y
&
Y
&
Y
&
Y
&
Y
&
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
N
&
Y
\\
Offense
&
Y
&
Y
&
N
&
Y
&
Y
&
Y
&
Y
&
Y
&
Y
&
Y
&
Y
&
Y
&
N
&
N
&
N
&
Y
&
N
&
Y
\\
Defense, not goalie
&
Y
&
Y
&
Y
&
N
&
N
&
Y
&
N
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
&
?
&
Y
&
Y
&
Y
\\
Defense, not goalie
&
Y
&
Y
&
Y
&
N
&
N
&
Y
&
N
&
Y
&
Y
&
N
&
N
&
N
&
N
&
Y
&
Y
&
Y
&
Y
&
Y
\\
Goalie (defense)
&
Y
&
Y
&
Y
&
N
&
N
&
Y
&
N
&
Y
&
?
&
N
&
N
&
N
&
Y
&
?
&
?
&
?
&
N
&
Y
\\
Goalie (defense)
&
Y
&
Y
&
Y
&
N
&
N
&
Y
&
N
&
Y
&
Y
&
N
&
N
&
N
&
Y
&
N
&
Y
&
N
&
N
&
Y
\\
\end{tabular}
\end{tabular}
}
}
\end{center}
\end{center}
...
@@ -643,7 +644,7 @@ Goalie (defense) & Y & Y & Y & N & N & Y & N & Y & ? & N & N &
...
@@ -643,7 +644,7 @@ Goalie (defense) & Y & Y & Y & N & N & Y & N & Y & ? & N & N &
\begin{itemize}
[noitemsep]
\begin{itemize}
[noitemsep]
\item
{
Da:
\,
Dash; Tu:
\,
Turn; Ta:
\,
Tackle; K:
\,
Kick
}
\item
{
Da:
\,
Dash; Tu:
\,
Turn; Ta:
\,
Tackle; K:
\,
Kick
}
\item
{
KT:
\,
Kick
\_
To; MT:
\,
Move
\_
To; DT:
\,
Dribble
\_
To; I:
\,
Intercept
}
\item
{
KT:
\,
Kick
\_
To; MT:
\,
Move
\_
To; DT:
\,
Dribble
\_
To; I:
\,
Intercept
}
\item
{
M:
\,
Move; S:
\,
Shoot; P:
\,
Pass; D
r
:
\,
Dribble; C:
\,
Catch; RG:
\,
Reduce
\_
Angle
\_
To
\_
Goal; DG:
\,
Defend
\_
Goal; G:
\,
Go
\_
To
\_
Ball; MP:
\,
Mark
\_
Player; Re: Reorient
}
\item
{
M:
\,
Move; S:
\,
Shoot; P:
\,
Pass; D:
\,
Dribble; C:
\,
Catch; RG:
\,
Reduce
\_
Angle
\_
To
\_
Goal; DG:
\,
Defend
\_
Goal; G:
\,
Go
\_
To
\_
Ball; MP:
\,
Mark
\_
Player; Re: Reorient
}
\end{itemize}
\end{itemize}
\section
{
Developing a New Agent
}
\section
{
Developing a New Agent
}
...
...
example/explore_offense_actions.twoplayer.py
0 → 100755
View file @
0f361781
This diff is collapsed.
Click to expand it.
example/explore_offense_actions_fullstate.twoplayer.v2.py
View file @
0f361781
...
@@ -33,7 +33,7 @@ HALF_FIELD_FULL_WIDTH = HALF_FIELD_WIDTH * 1.2
...
@@ -33,7 +33,7 @@ HALF_FIELD_FULL_WIDTH = HALF_FIELD_WIDTH * 1.2
HALF_FIELD_LENGTH
=
52.5
# x coordinate
HALF_FIELD_LENGTH
=
52.5
# x coordinate
HALF_FIELD_FULL_LENGTH
=
HALF_FIELD_LENGTH
*
1.2
HALF_FIELD_FULL_LENGTH
=
HALF_FIELD_LENGTH
*
1.2
GOAL_WIDTH
=
14.02
GOAL_WIDTH
=
14.02
MAX_RADIUS
=
math
.
sqrt
((
HALF_FIELD_WIDTH
**
2
)
+
((
HALF_FIELD_LENGTH
/
2
)
**
2
))
# latter is incorrect for _actual_ maximum distance
...
MAX_RADIUS
=
math
.
sqrt
((
(
HALF_FIELD_WIDTH
/
2
)
**
2
)
+
(
HALF_FIELD_LENGTH
**
2
))
# not actually correct, but works
...
ERROR_TOLERANCE
=
math
.
pow
(
sys
.
float_info
.
epsilon
,
0.25
)
ERROR_TOLERANCE
=
math
.
pow
(
sys
.
float_info
.
epsilon
,
0.25
)
POS_ERROR_TOLERANCE
=
0.05
POS_ERROR_TOLERANCE
=
0.05
...
...
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