MuJoCo

Revision as of 17:57, 27 September 2022 by Coulombc (talk | contribs) (Rework of MuJoCo with recent module that include bindings.)
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:

 
[name@server ~]$ module load mujoco

Python bindings

To discover which are the compatible Python versions, run

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

1. Load the required modules.

 
[name@server ~]$ module load mujoco python

2. Import MuJoCo.

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

If the command displays nothing, the import was successful.