Skip to content

Commit

Permalink
minor fix in quickstart doc (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanlinli17 authored Aug 18, 2023
1 parent ea75f85 commit e1a678d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/getting_started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Here is a basic example of how to make a ManiSkill2 environment following the interface of [Gymnasium](https://gymnasium.farama.org/) and run a random policy.

**Note**: starting from ManiSkill2 v0.5.0, we have switched to the [Gymnasium](https://gymnasium.farama.org/) interface in place of the old [OpenAI Gym](https://github.com/openai/gym). The instructions below apply to the latest version of ManiSkill2 with Gymnasium. If you are using ManiSkill2 versions prior to v0.5.0, please follow the OpenAI Gym interface (i.e., replace `import gymnasium as gym` with `import gym`, and replace `obs, reward, terminated, truncated, info = env.step(action)` with `obs, reward, done, info = env.step(action)`).
**Note**: starting from ManiSkill2 v0.5.0, we have switched to the [Gymnasium](https://gymnasium.farama.org/) interface in place of the old [OpenAI Gym](https://github.com/openai/gym). The instructions below apply to the latest version of ManiSkill2 with Gymnasium. If you are using ManiSkill2 versions prior to v0.5.0, please follow the OpenAI Gym interface (i.e., replace `import gymnasium as gym` with `import gym`; replace `obs, _ = env.reset(seed=0)` with `obs = env.reset(seed=0)`; replace `obs, reward, terminated, truncated, info = env.step(action)` with `obs, reward, done, info = env.step(action)`).

```python
import gymnasium as gym
Expand Down

0 comments on commit e1a678d

Please sign in to comment.