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
41b461a0
Commit
41b461a0
authored
Mar 13, 2015
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the log directory. Changed start.py to make rcssserver failure more visible.
parent
2311a7d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+0
-2
bin/start.py
bin/start.py
+5
-3
No files found.
CMakeLists.txt
View file @
41b461a0
cmake_minimum_required
(
VERSION 2.8.3
)
find_package
(
Threads REQUIRED
)
project
(
hfo
)
# Change these to reflect the location of your librcsc-4.1.0 install
...
...
@@ -32,7 +31,6 @@ list(APPEND LINK_LIBS
rcsc_gz
rcsc_time
rcsc_rcg
${
CMAKE_THREAD_LIBS_INIT
}
)
add_executable
(
sample_coach
${
SOURCE_DIR
}
/main_coach.cpp
${
SOURCE_DIR
}
/sample_coach.cpp
${
SOURCES
}
)
...
...
bin/start.py
View file @
41b461a0
...
...
@@ -8,8 +8,8 @@ from signal import SIGKILL
processes
,
necProcesses
=
[],
[]
# Command to run the rcssserver. Edit as needed.
SERVER_CMD
=
'rcssserver server::port=6000 server::coach_port=6001
\
server::olcoach_port=6002 server::coach=1 server::game_log_dir=
/tmp
\
server::text_log_dir=
/tmp
'
server::olcoach_port=6002 server::coach=1 server::game_log_dir=
log
\
server::text_log_dir=
log
'
# Command to run the monitor. Edit as needed.
MONITOR_CMD
=
'rcssmonitor'
...
...
@@ -50,8 +50,10 @@ def main(args, team1='left', team2='right', rng=numpy.random.RandomState()):
assert
os
.
path
.
isdir
(
team2Dir
)
try
:
# Launch the Server
launch
(
SERVER_CMD
+
serverOptions
,
name
=
'server'
)
server
=
launch
(
SERVER_CMD
+
serverOptions
,
name
=
'server'
)
time
.
sleep
(
0.2
)
assert
server
.
poll
()
is
None
,
\
'Failed to launch Server with command:
\"
%
s
\"
'
%
(
SERVER_CMD
)
if
not
args
.
headless
:
launch
(
MONITOR_CMD
,
name
=
'monitor'
)
# Launch the Trainer
...
...
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