qgallouedec / panda-gym

Set of robotic environments based on PyBullet physics engine and gymnasium.
MIT License
506 stars 109 forks source link

Panda gym returning errors when running #31

Closed MechIyad closed 2 years ago

MechIyad commented 2 years ago

I found a gym environment on GitHub for robotics, I tried running it on collab without rendering with the following code

import gym
import panda_gym

    env = gym.make('PandaReach-v2', render=True)

    obs = env.reset()
    done = False
    while not done:
        action = env.action_space.sample() # random action
        obs, reward, done, info = env.step(action)

    env.close()

I got the following error

```

import gym
import panda_gym

env = gym.make('PandaReach-v2', render=True)

obs = env.reset()
done = False
while not done:
    action = env.action_space.sample() # random action
    obs, reward, done, info = env.step(action)

env.close()
```https://docs.github.com/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
qgallouedec commented 2 years ago

Next time, please fill the issue template.

I got the following error

What error ?