MuJoCo

From Alliance Doc
(Redirected from Mujoco)
Jump to navigation Jump to search
Other languages:

MuJoCo stands for Multi-Joint dynamics with Contact. It is a physics engine aiming to facilitate research and development in robotics, biomechanics, graphics and animation, and other areas where fast and accurate simulation is needed.[1]

It is frequently used with the associated Python bindings mujoco as an environment for reinforcement learning (RL) research.

The module contains MuJoCo C/C++ library and its Python bindings.

Library

In order to access headers and binaries, load the module:

Question.png
[name@server ~]$ module load mujoco

Python bindings

To discover which are the compatible Python versions, run

Question.png
[name@server ~]$ module spider mujoco/2.2.2

1. Load the required modules.

Question.png
[name@server ~]$ module load mujoco python

2. Import MuJoCo.

Question.png
[name@server ~]$ python -c "import mujoco"

If the command displays nothing, the import was successful.