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
670fc45a
You need to sign in or sign up before continuing.
Commit
670fc45a
authored
Nov 07, 2017
by
Blair Watkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ball y params initialization
parent
b7aa50ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
CMakeLists.txt
+3
-2
bin/HFO
bin/HFO
+5
-1
No files found.
CMakeLists.txt
View file @
670fc45a
...
@@ -14,7 +14,8 @@ find_package(FLEX REQUIRED)
...
@@ -14,7 +14,8 @@ find_package(FLEX REQUIRED)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
ExternalProject_Add
(
rcssserver
ExternalProject_Add
(
rcssserver
GIT_REPOSITORY
"https://github.com/mhauskn/rcssserver.git"
# GIT_REPOSITORY "https://github.com/mhauskn/rcssserver.git"
GIT_REPOSITORY
"https://github.com/wbwatkinson/rcssserver.git"
GIT_TAG
"master"
GIT_TAG
"master"
CMAKE_ARGS -DCMAKE_BUILD_TYPE=MinSizeRel
CMAKE_ARGS -DCMAKE_BUILD_TYPE=MinSizeRel
UPDATE_COMMAND
""
UPDATE_COMMAND
""
...
@@ -109,7 +110,7 @@ list(APPEND RCSC_LINK_LIBS rcsc_agent rcsc_geom rcsc_param rcsc_ann rcsc_net rcs
...
@@ -109,7 +110,7 @@ list(APPEND RCSC_LINK_LIBS rcsc_agent rcsc_geom rcsc_param rcsc_ann rcsc_net rcs
add_library
(
player_chain_action STATIC
${
PLAYER_SOURCES
}
${
CHAIN_ACTION_SOURCES
}
)
add_library
(
player_chain_action STATIC
${
PLAYER_SOURCES
}
${
CHAIN_ACTION_SOURCES
}
)
add_executable
(
sample_coach
${
SOURCE_DIR
}
/main_coach.cpp
${
SOURCE_DIR
}
/sample_coach.cpp
)
add_executable
(
sample_coach
${
SOURCE_DIR
}
/main_coach.cpp
${
SOURCE_DIR
}
/sample_coach.cpp
)
add_executable
(
sample_player
${
SOURCE_DIR
}
/HFO.cpp
${
SOURCE_DIR
}
/main_player.cpp
${
SOURCE_DIR
}
/sample_player.cpp
${
SOURCE_DIR
}
/agent.cpp
)
add_executable
(
sample_player
${
SOURCE_DIR
}
/HFO.cpp
${
SOURCE_DIR
}
/main_player.cpp
${
SOURCE_DIR
}
/sample_player.cpp
${
SOURCE_DIR
}
/agent.cpp
)
add_executable
(
sample_trainer
${
SOURCE_DIR
}
/main_trainer.cpp
${
SOURCE_DIR
}
/sample_trainer.cpp
)
add_executable
(
sample_trainer
${
SOURCE_DIR
}
/main_trainer.cpp
${
SOURCE_DIR
}
/sample_trainer.cpp
)
add_executable
(
agent
${
SOURCE_DIR
}
/HFO.cpp
${
SOURCE_DIR
}
/main_agent.cpp
${
SOURCE_DIR
}
/agent.cpp
)
add_executable
(
agent
${
SOURCE_DIR
}
/HFO.cpp
${
SOURCE_DIR
}
/main_agent.cpp
${
SOURCE_DIR
}
/agent.cpp
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/teams/base
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/teams/base
)
...
...
bin/HFO
View file @
670fc45a
...
@@ -159,7 +159,7 @@ def parseArgs():
...
@@ -159,7 +159,7 @@ def parseArgs():
p
.
add_argument
(
'--agent-play-goalie'
,
dest
=
'agentPlayGoalie'
,
action
=
'store_true'
,
p
.
add_argument
(
'--agent-play-goalie'
,
dest
=
'agentPlayGoalie'
,
action
=
'store_true'
,
default
=
False
,
help
=
'Defense-agent plays goalie, rather than defender.'
)
default
=
False
,
help
=
'Defense-agent plays goalie, rather than defender.'
)
p
.
add_argument
(
'--offense-team'
,
dest
=
'offenseTeam'
,
type
=
str
,
default
=
'base'
,
p
.
add_argument
(
'--offense-team'
,
dest
=
'offenseTeam'
,
type
=
str
,
default
=
'base'
,
help
=
'Offense team binary. Options: '
+
str
(
installed_teams
)
+
'. Default: base.'
)
help
=
'Offense team binary. Options: '
+
str
(
installed_teams
)
+
'. Default: base.'
)
p
.
add_argument
(
'--defense-team'
,
dest
=
'defenseTeam'
,
type
=
str
,
default
=
'base'
,
p
.
add_argument
(
'--defense-team'
,
dest
=
'defenseTeam'
,
type
=
str
,
default
=
'base'
,
help
=
'Defense team binary. Options: '
+
str
(
installed_teams
)
+
'. Default: base.'
)
help
=
'Defense team binary. Options: '
+
str
(
installed_teams
)
+
'. Default: base.'
)
p
.
add_argument
(
'--no-sync'
,
dest
=
'sync'
,
action
=
'store_false'
,
default
=
True
,
p
.
add_argument
(
'--no-sync'
,
dest
=
'sync'
,
action
=
'store_false'
,
default
=
True
,
...
@@ -192,6 +192,10 @@ def parseArgs():
...
@@ -192,6 +192,10 @@ def parseArgs():
help
=
'Ball initialization min x position: [0,1]. Default: 0'
)
help
=
'Ball initialization min x position: [0,1]. Default: 0'
)
p
.
add_argument
(
'--ball-x-max'
,
dest
=
'max_ball_x'
,
type
=
float
,
default
=
0.2
,
p
.
add_argument
(
'--ball-x-max'
,
dest
=
'max_ball_x'
,
type
=
float
,
default
=
0.2
,
help
=
'Ball initialization max x position: [0,1]. Default: .2'
)
help
=
'Ball initialization max x position: [0,1]. Default: .2'
)
p
.
add_argument
(
'--ball-y-min'
,
dest
=
'min_ball_y'
,
type
=
float
,
default
=-
0.8
,
help
=
'Ball initialization min y position: [-1,1]. Default: -0.8'
)
p
.
add_argument
(
'--ball-y-max'
,
dest
=
'max_ball_y'
,
type
=
float
,
default
=
0.8
,
help
=
'Ball initialization max y position: [-1,1]. Default: 0.8'
)
p
.
add_argument
(
'--verbose'
,
dest
=
'verbose'
,
action
=
'store_true'
,
p
.
add_argument
(
'--verbose'
,
dest
=
'verbose'
,
action
=
'store_true'
,
default
=
False
,
help
=
'Print verbose output.'
)
default
=
False
,
help
=
'Print verbose output.'
)
args
=
p
.
parse_args
()
args
=
p
.
parse_args
()
...
...
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