The example code is presenting the following error:
Example code:
import gym
import rsoccer_gym
# Using VSS Single Agent env
env = gym.make('VSS-v0')
env.reset()
# Run for 1 episode and print reward at the end
for i in range(1):
done = False
while not done:
# Step using random actions
action = env.action_space.sample()
next_state, reward, done, _ = env.step(action)
env.render()
print(reward)
Error message:
Exception has occurred: ValueError
not enough values to unpack (expected 5, got 4)
The example code is presenting the following error:
Example code:
Error message:
Error line:
next_state, reward, done, _ = env.step(action)