893 - changed action in conftest.py back to sample of the environment action space

This commit is contained in:
SunilSamra
2023-06-06 13:23:08 +01:00
parent d922d4d054
commit babd4eb5f8

View File

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