From e1a678dc520ca94cb6f54d2493653607b5e27b07 Mon Sep 17 00:00:00 2001 From: "Xuanlin (Simon) Li" <35481101+xuanlinli17@users.noreply.github.com> Date: Fri, 18 Aug 2023 08:12:19 -0700 Subject: [PATCH] minor fix in quickstart doc (#138) --- docs/source/getting_started/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting_started/quickstart.md b/docs/source/getting_started/quickstart.md index 8041a3981..eac80c7f9 100644 --- a/docs/source/getting_started/quickstart.md +++ b/docs/source/getting_started/quickstart.md @@ -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