This package contains a collection of utility functions for generating different types of scenes in Mujoco.
This is a programmatic way to compose scene files, inspired by Mujoco Menagerie.
To load a robot into a particular scene, you can use the following code:
from mujoco_scenes.mjcf import load_mjmodel
model = load_mjmodel("path/to/robot.xml", "smooth")
# To view the model, you can use:
mujoco.viewer.launch(model)python generate.py --freq-hill 0 --freq-valley 0 --patch-size 64 --rows 5 --freq-hill-valley 2 --freq-rough 2 --rough-amplitude 1.0 --hill-amplitude 1.0 --valley-amplitude 1.0 --output templates/assets/patch_hfield.png