Skip to main content

mjpl

Build Coverage Status pre-commit.ci status PyPI - Version

MuJoCo motion planning library.

[!Note] This project is under active development. APIs may change, and features are still a work in progress.

Features:

  • Joint-space planning via bi-directional RRT, with support for constraints
  • Cartesian-space planning
  • Interfaces for constraints, inverse kinematics, and trajectory generation

Limitations:

  • This library is designed for manipulator models that are composed of hinge/slide joints, and will not work with models that have ball/free joints.

Installation

pip install mjpl

Development

For local development, clone the repository and install the developer dependencies:

pip install -e ".[dev]"

This project uses Ruff for linting and formatting. Unit tests are written via the unittest framework.

To run the linter, formatter, and tests locally:

# Check for linter errors
ruff check .
# Apply lint fixes
ruff check --fix .

# Check for format errors
ruff format --diff .
# Apply format fixes
ruff format .

# Run unit tests
python3 -m unittest -v

Pre-commit hooks are also available which run the linter, formatter, and unit tests. To trigger the hooks automatically on commit, install the pre-commit hooks:

pre-commit install

To trigger the hooks manually:

pre-commit run --all-files

To bypass installed pre-commit hooks on commit:

git commit --no-verify -m "your message"

Acknowledgements:

Thank you Sebastian Castro for the guidance and support that has been offered throughout the early stages of this project. If you find this library useful or interesting, consider checking out Sebastian's pyroboplan, which offers similar features via Pinocchio!

Metadata

Release files for mjpl 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mjpl 0.0.1
File Size Uploaded
mjpl-0.0.1.tar.gz 13.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mjpl 0.0.1
File Interpreter ABI Platform
mjpl-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 MB

Release files / mjpl-0.0.1.tar.gz

Download URL mjpl-0.0.1.tar.gz
Size 13.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ec50b3e3da1dcbe1492f32494b761fd62e6bdcfff1f9820162596a19cc00d082
BLAKE2b-256 checksum
How to use checksums
b4bcaeb9cf6028fe8e916d6c6f15a8fc9ed6e7f6edad162b18ad6d761012b122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / mjpl-0.0.1-py3-none-any.whl

Download URL mjpl-0.0.1-py3-none-any.whl
Size 26.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68c97e2220d2f11c55a7c352f3cd4ac046e07855d0e6e48bdbdd6c68065bee18
BLAKE2b-256 checksum
How to use checksums
84b56d0a098414bc17ffa553ed3c296f4b49f9a3e0a39f13ef7112b588f20858
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page