Commit 435af1ad authored by drallensmith's avatar drallensmith

Below -1 is supposed to be signal for invalid, not below -2

parent bdf38152
...@@ -85,7 +85,7 @@ def do_defense_action(state_vec, hfo_env, episode, ...@@ -85,7 +85,7 @@ def do_defense_action(state_vec, hfo_env, episode,
ball_pos_y = state_vec[4] ball_pos_y = state_vec[4]
# if get high_level working for invalid # if get high_level working for invalid
if (min(agent_pos_x,agent_pos_y,ball_pos_x,ball_pos_y) < -2): if (min(agent_pos_x,agent_pos_y,ball_pos_x,ball_pos_y) < -1):
hfo_env.act(hfo.MOVE) # will be Reorient in that version hfo_env.act(hfo.MOVE) # will be Reorient in that version
return return
......
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