Skip to content

Registry

The suites listed below are automatically registered with Envrax's [] registry when mujorax is imported.

mujorax.DmControlSuite dataclass

Bases: EnvSuite

DM Control Suite category of MuJoCo Playground environments.

Canonical IDs follow mjx/<env_name>-<version> (e.g. "mjx/cartpole_balance-v0").

Parameters:

Name Type Description Default
prefix str

Namespace prefix. Default "mjx".

required
category str

Human-readable category label. Default "DM Control Suite".

required
version str

Version suffix. Default "v0".

required
required_packages List[str]

Python packages required for the suite to load.

required
specs List[EnvSpec]

Environment specifications shipped by the suite.

required
Source code in mujorax/suite.py
Python
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
@dataclass
class DmControlSuite(EnvSuite):
    """
    DM Control Suite category of MuJoCo Playground environments.

    Canonical IDs follow `mjx/<env_name>-<version>` (e.g.
    `"mjx/cartpole_balance-v0"`).

    Parameters
    ----------
    prefix : str
        Namespace prefix. Default `"mjx"`.
    category : str
        Human-readable category label. Default `"DM Control Suite"`.
    version : str
        Version suffix. Default `"v0"`.
    required_packages : List[str]
        Python packages required for the suite to load.
    specs : List[EnvSpec]
        Environment specifications shipped by the suite.
    """

    prefix: str = "mjx"
    category: str = "DM Control Suite"
    version: str = "v0"
    required_packages: List[str] = field(
        default_factory=lambda: ["mujoco", "mujoco_mjx", "mujoco_playground"]
    )
    specs: List[EnvSpec] = field(
        default_factory=lambda: [
            EnvSpec(
                name="acrobot_swingup",
                env_class=AcrobotSwingupEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="acrobot_swingup_sparse",
                env_class=AcrobotSwingupSparseEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="ball_in_cup",
                env_class=BallInCupEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="cartpole_balance",
                env_class=CartpoleBalanceEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="cartpole_balance_sparse",
                env_class=CartpoleBalanceSparseEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="cartpole_swingup",
                env_class=CartpoleSwingupEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="cartpole_swingup_sparse",
                env_class=CartpoleSwingupSparseEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="cheetah_run",
                env_class=CheetahRunEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="finger_spin",
                env_class=FingerSpinEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="finger_turn_easy",
                env_class=FingerTurnEasyEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="finger_turn_hard",
                env_class=FingerTurnHardEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="fish_swim",
                env_class=FishSwimEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="hopper_hop",
                env_class=HopperHopEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="hopper_stand",
                env_class=HopperStandEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="humanoid_run",
                env_class=HumanoidRunEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="humanoid_stand",
                env_class=HumanoidStandEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="humanoid_walk",
                env_class=HumanoidWalkEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="pendulum_swingup",
                env_class=PendulumSwingupEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="point_mass",
                env_class=PointMassEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="reacher_easy",
                env_class=ReacherEasyEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="reacher_hard",
                env_class=ReacherHardEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="swimmer_swimmer6",
                env_class=SwimmerSwimmer6Env,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="walker_run",
                env_class=WalkerRunEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="walker_stand",
                env_class=WalkerStandEnv,
                default_config=MjxPlaygroundConfig(),
            ),
            EnvSpec(
                name="walker_walk",
                env_class=WalkerWalkEnv,
                default_config=MjxPlaygroundConfig(),
            ),
        ]
    )