Commit 670fc45a authored by Blair Watkinson's avatar Blair Watkinson

Add ball y params initialization

parent b7aa50ea
......@@ -14,7 +14,8 @@ find_package(FLEX REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
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"
CMAKE_ARGS -DCMAKE_BUILD_TYPE=MinSizeRel
UPDATE_COMMAND ""
......@@ -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_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(agent ${SOURCE_DIR}/HFO.cpp ${SOURCE_DIR}/main_agent.cpp ${SOURCE_DIR}/agent.cpp)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/teams/base)
......
......@@ -159,7 +159,7 @@ def parseArgs():
p.add_argument('--agent-play-goalie', dest='agentPlayGoalie', action='store_true',
default=False, help='Defense-agent plays goalie, rather than defender.')
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',
help='Defense team binary. Options: '+str(installed_teams)+'. Default: base.')
p.add_argument('--no-sync', dest='sync', action='store_false', default=True,
......@@ -192,6 +192,10 @@ def parseArgs():
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,
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',
default=False, help='Print verbose output.')
args = p.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment