unilab.base.backend.mujoco.xml.materialize_mujoco_hfield_attached_scene
-
unilab.base.backend.mujoco.xml.materialize_mujoco_hfield_attached_scene(*, model_file, terrain_cfg, output_dir, fragment_files=(), hfield_name='terrain_hfield', geom_name='floor', return_surface_sampler=False)[source]
Build a MuJoCo model with generated hfield terrain and attached robot spec.
- Parameters:
-
- Return type:
tuple[Any, ndarray] | tuple[Any, ndarray, Any]