Skip to content

Commit

Permalink
Merge pull request #108 from P-Schumacher/dev
Browse files Browse the repository at this point in the history
fix credits and setup call in chasetag
  • Loading branch information
Vittorio-Caggiano committed Oct 10, 2023
2 parents 67ac69d + c9ba051 commit 87ef127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion myosuite/envs/myo/myochallenge/chasetag_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import os
from enum import Enum

from myosuite.envs.myo.base_v0 import BaseV0
from myosuite.envs.myo.myobase.walk_v0 import WalkEnvV0
from myosuite.utils.quat_math import quat2euler, euler2mat, euler2quat

Expand Down Expand Up @@ -374,7 +375,7 @@ def __init__(self, model_path, obsd_model_path=None, seed=None, **kwargs):
# first construct the inheritance chain, which is just __init__ calls all the way down, with env_base
# creating the sim / sim_obsd instances. Next we run through "setup" which relies on sim / sim_obsd
# created in __init__ to complete the setup.
super().__init__(model_path=model_path, obsd_model_path=obsd_model_path, seed=seed)
BaseV0.__init__(self, model_path=model_path, obsd_model_path=obsd_model_path, seed=seed, env_credits=self.MYO_CREDIT)
self._setup(**kwargs)

def _setup(self,
Expand Down

0 comments on commit 87ef127

Please sign in to comment.