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.2.tar.gz (14.3 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.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mujoco_animator-0.0.2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mujoco_animator-0.0.2.tar.gz
Algorithm Hash digest
SHA256 87c5fa08de03da02ecb4ed96b7056ebe26f762176b5ae895d7cad0ecc66096cc
MD5 251995a83193a677043c8dfd5f72a6bb
BLAKE2b-256 986a8414141478853c5b08861cc4d531c43d9a65dbd1c8cb09041ff6bfbee91a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mujoco_animator-0.0.2.tar.gz:

Publisher: publish.yml on kscalelabs/mujoco-animator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for mujoco_animator-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2aaef78749a4b6d3dbff68d71f2486f78e2900c1849845481527faabd18d52ad
MD5 b6512b6a9d7e37c568d50a85b4f42f0e
BLAKE2b-256 481d24c37630029fb259bd48adb01ad3ddf5017b9547eef4835afc4336baf530

See more details on using hashes here.

Provenance

The following attestation bundles were made for mujoco_animator-0.0.2-py3-none-any.whl:

Publisher: publish.yml on kscalelabs/mujoco-animator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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