Commit 49730ae5 authored by drallensmith's avatar drallensmith

Update hand_coded_defense_agent.py for REORIENT

parent 756b60e5
......@@ -86,7 +86,7 @@ def do_defense_action(state_vec, hfo_env, episode,
# if get high_level working for invalid
if (min(agent_pos_x,agent_pos_y,ball_pos_x,ball_pos_y) < -2):
hfo_env.act(hfo.MOVE) # will be Reorient in that version
hfo_env.act(hfo.REORIENT)
return
ball_toward_goal = ball_moving_toward_goal(ball_pos_x, ball_pos_y,
......
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