893 - added consistent action for test_reward.py

This commit is contained in:
SunilSamra
2023-06-06 13:49:22 +01:00
parent 69c5c9458b
commit 2eff3912fb

View File

@@ -182,8 +182,9 @@ def run_generic(env, config_values):
# Send the observation space to the agent to get an action
# TEMP - random action for now
# action = env.blue_agent_action(obs)
# action = 0
action = env.action_space.sample()
# action = env.action_space.sample()
action = 0
# Run the simulation step on the live environment
obs, reward, done, info = env.step(action)