Skip to content

Humanoid

mujorax.HumanoidStandEnv

Bases: MjxPlaygroundEnv

DM Control HumanoidStand.

21-DoF humanoid; dense reward for keeping the head above a minimum standing height while remaining stationary.

Parameters:

Name Type Description Default
config MjxPlaygroundConfig

Static configuration. Defaults to MjxPlaygroundConfig().

None
Source code in mujorax/envs/humanoid.py
Python
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
class HumanoidStandEnv(MjxPlaygroundEnv):
    """
    DM Control `HumanoidStand`.

    21-DoF humanoid; dense reward for keeping the head above a minimum
    standing height while remaining stationary.

    Parameters
    ----------
    config : MjxPlaygroundConfig (optional)
        Static configuration. Defaults to `MjxPlaygroundConfig()`.
    """

    _PLAYGROUND_NAME = "HumanoidStand"

mujorax.HumanoidWalkEnv

Bases: MjxPlaygroundEnv

DM Control HumanoidWalk.

Same body as HumanoidStand; dense reward for matching a target walking speed while staying upright.

Parameters:

Name Type Description Default
config MjxPlaygroundConfig

Static configuration. Defaults to MjxPlaygroundConfig().

None
Source code in mujorax/envs/humanoid.py
Python
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class HumanoidWalkEnv(MjxPlaygroundEnv):
    """
    DM Control `HumanoidWalk`.

    Same body as `HumanoidStand`; dense reward for matching a target
    walking speed while staying upright.

    Parameters
    ----------
    config : MjxPlaygroundConfig (optional)
        Static configuration. Defaults to `MjxPlaygroundConfig()`.
    """

    _PLAYGROUND_NAME = "HumanoidWalk"

mujorax.HumanoidRunEnv

Bases: MjxPlaygroundEnv

DM Control HumanoidRun.

Same body as HumanoidStand; dense reward for matching a target running speed while staying upright.

Parameters:

Name Type Description Default
config MjxPlaygroundConfig

Static configuration. Defaults to MjxPlaygroundConfig().

None
Source code in mujorax/envs/humanoid.py
Python
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class HumanoidRunEnv(MjxPlaygroundEnv):
    """
    DM Control `HumanoidRun`.

    Same body as `HumanoidStand`; dense reward for matching a target
    running speed while staying upright.

    Parameters
    ----------
    config : MjxPlaygroundConfig (optional)
        Static configuration. Defaults to `MjxPlaygroundConfig()`.
    """

    _PLAYGROUND_NAME = "HumanoidRun"