Skip to content

Swimmer

mujorax.SwimmerSwimmer6Env

Bases: MjxPlaygroundEnv

DM Control SwimmerSwimmer6.

Six-link planar swimmer; dense reward for the head reaching a randomised target.

Parameters:

Name Type Description Default
config MjxPlaygroundConfig

Static configuration. Defaults to MjxPlaygroundConfig().

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

    Six-link planar swimmer; dense reward for the head reaching a
    randomised target.

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

    _PLAYGROUND_NAME = "SwimmerSwimmer6"