Skip to content

kscalelabs/mujoco-scenes

Repository files navigation

mujoco-scenes

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.

Usage

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)

Command to create scene patch

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

About

Package for creating different scenes in Mujoco

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •