From babd4eb5f8542a49ff7cbd440b1f1d53007f288f Mon Sep 17 00:00:00 2001 From: SunilSamra Date: Tue, 6 Jun 2023 13:23:08 +0100 Subject: [PATCH] 893 - changed action in conftest.py back to sample of the environment action space --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 740f65b7..41c1bc94 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -182,8 +182,8 @@ 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 = env.action_space.sample() - action = 0 + # action = 0 + action = env.action_space.sample() # Run the simulation step on the live environment obs, reward, done, info = env.step(action)