From 069b05697eab3b1655b0331436609690dc7fd571 Mon Sep 17 00:00:00 2001 From: Varun Joshi Date: Wed, 18 Sep 2024 14:33:20 -0400 Subject: [PATCH 1/2] Bugfix ReflexCtrInterface.py Corrected environment name --- docs/source/tutorials/4b_reflex/ReflexCtrInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py b/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py index 724f22a7..447fe2f7 100644 --- a/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py +++ b/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py @@ -52,7 +52,7 @@ def __init__(self, init_dict=DEFAULT_INIT_POSE, dt=0.01, mode='3D', sim_time=2.0 self.init_dict = init_dict self.seed = seed - self.env = gym.make('myoLegReachFixed-v0', normalize_act=False) + self.env = gym.make('myoLegStandRandom-v0', normalize_act=False) print(f"Seed added - ", seed) self.env.reset() From 0c11d8610774891008fcbc3de5367e72817fb4b5 Mon Sep 17 00:00:00 2001 From: Varun Joshi Date: Wed, 18 Sep 2024 14:35:58 -0400 Subject: [PATCH 2/2] Update ReflexCtrInterface.py Fixed gym import --- docs/source/tutorials/4b_reflex/ReflexCtrInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py b/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py index 447fe2f7..e426dd05 100644 --- a/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py +++ b/docs/source/tutorials/4b_reflex/ReflexCtrInterface.py @@ -11,7 +11,7 @@ from reflexCtr import LocoCtrl import myosuite -import gym +from myosuite.utils import gym import numpy as np import os