893 - set the action_space to NOTHING so test_reward.py passes and removed unnecessary test print statements

This commit is contained in:
SunilSamra
2023-06-06 11:10:38 +01:00
parent 1a7d629d5a
commit dc7be7d8e6
2 changed files with 3 additions and 22 deletions

View File

@@ -184,8 +184,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 = env.action_space.sample()
action = 0
# Run the simulation step on the live environment
obs, reward, done, info = env.step(action)
@@ -222,7 +222,6 @@ def run_generic_set_actions(env, config_values):
# Sets Node 1 Hardware State to OFF
# Does not resolve any service
action = 16
print(action, "ran")
# Run the simulation step on the live environment
obs, reward, done, info = env.step(action)