Skip to content

Point Mass

mujorax.PointMassEnv

Bases: MjxPlaygroundEnv

DM Control PointMass.

Planar point mass actuated in 2D; dense reward for moving toward a randomised target.

Parameters:

Name Type Description Default
config MjxPlaygroundConfig

Static configuration. Defaults to MjxPlaygroundConfig().

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

    Planar point mass actuated in 2D; dense reward for moving toward a
    randomised target.

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

    _PLAYGROUND_NAME = "PointMass"