Skip to content

mujoco_mojo.stochas

The mujoco_mojo.stochas subpackage re-exports the distributions, named values, design values, and unit system from the stochas library, which handles the stochastic parameterization of MuJoCo Mojo models. The best reference is the stochas documentation:

stochas API Reference

All of these types are re-exported from the top-level mujoco_mojo namespace, so you rarely need to import directly from mujoco_mojo.stochas or stochas.

Python
1
2
3
import mujoco_mojo as mojo

mass = mojo.NormalDistribution(name=mojo.DistName("link_mass"), mu=1.5, sigma=0.15)