Skip to main content

The mujoco-animator project

Project description

mujoco-animator

Welcome to the mujoco-animator project!

This utility can be used to generate animations of Mujoco models, which in turn can be used for training robots to do bespoke behaviors.

Getting Started

File Format

If you just want to use recorded animations to train your model, install the base package:

pip install mujoco-animator

You can then load the MjAnim file format, which exposes a nice helper method to get per-frame qpos targets:

from mujoco_animator import MjAnim

anim = MjAnim.load("/path/to/file.mjanim")
qpos_sequence = anim.to_numpy(dt, interp="cubic", loop=True)

CLI

If you want to start recording animations using the CLI, install with:

pip install 'mujoco-animator[cli]'

Then you can run

mujoco-animator /path/to/your/robot.mjcf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mujoco_animator-0.0.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mujoco_animator-0.0.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file mujoco_animator-0.0.1.tar.gz.

File metadata

  • Download URL: mujoco_animator-0.0.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mujoco_animator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6668c0064ba94be777814762268ad6592d9241ff88c9e0bca820af44f7d46447
MD5 43bb026e768fdf1f88a6234ad2fd524b
BLAKE2b-256 7e25aaa70fdc0b727f45f0de9fc52525bfe8179ab6dec8cfb5b8d81345d0478f

See more details on using hashes here.

File details

Details for the file mujoco_animator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mujoco_animator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 243d895c365f5bd0f39927a1958e449e5696fee9495cf02c4ee1691bbfe23159
MD5 09a0ae573781af311d9ef47aad653016
BLAKE2b-256 ead117bb5a46f9613431e9089709c65b6ca6f2e9b6e651de9ab61ff701a87d34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page