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

You may provide a desired output file name with --output. The output is dynamic depending on the filetype. Currently supported:

  • .mjanim -> Condensed Binary
  • .json -> JSON Dictionary

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.3.tar.gz (15.5 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.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mujoco_animator-0.0.3.tar.gz
  • Upload date:
  • Size: 15.5 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.3.tar.gz
Algorithm Hash digest
SHA256 f3bd7a22e8a5a23c071dff13fdf248c4bb5e23b741eb99062e35e03903670e14
MD5 ecf0293a9d133e7917f5901d00b31e04
BLAKE2b-256 9072f8296ee8c190f4da8141a0b21d2dbc76c64c4a49a756c9c20d49770932ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for mujoco_animator-0.0.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mujoco_animator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4a97f5ffed7e59b75baf621e582febe2f7cf7131b24b7b46b96877c9caa2775
MD5 d4ecfdc5728d1b0f2607964c598fb2fc
BLAKE2b-256 e9c434089662460c4e9494c5b3aead9e5f822da98a7f591d4b36db8e0e89a033

See more details on using hashes here.

Provenance

The following attestation bundles were made for mujoco_animator-0.0.3-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