Skip to main content

A pythonic motion planning library

Project description

Pythonic Motion Planning (pymp)

PyPI version Open In Colab

Motion planning is a computational problem to find a sequence of valid configurations that moves the object from the source to destination.

This library is designed for robotic applications, especially sampling-based algorithms for high-dimension configuration spaces(e.g., robot arm).

  • pythonic: easy to debug, customize and extend
  • standalone collision checker (hpp-fcl): without relying on any physical simulator (e.g., mujoco, pybullet, sapien) to check collision
  • out-of-box: common motion planning algorithms (e.g., RRT-Connect) are implemented for robotic manipulation

Installation

Dependencies

This library (pymp) depends on pinocchio to handle URDF and robot kinematics, hpp-fcl to check collision, toppra to do time parameterization.

Install pymp

From pip:

pip install motion-planning

From source:

git clone https://github.com/Jiayuan-Gu/pymp.git
pip install -e .

From Github directly:

pip install --upgrade git+https://github.com/Jiayuan-Gu/pymp.git

Usage

See example.py for basic usage. Note that pymp depends on SRDF associated with URDF to remove self-collision.

Logging

The logging level can be specified by the environment variable PYMP_LOG.

# Set the logging level to DEBUG for pymp
export PYMP_LOG=DEBUG

Base pose

pymp supports specifying the pose of the base link during the initialization of the planner. We support many formats of pose (e.g., [x, y, z] for position, [w, i, j, k] for quaternion, [x, y, z, w, i, j, k] for SE(3), or a 4x4 rigid transformation matrix)

from pymp import Planner

planner = Planner(
    ...
    base_pose=[0, 0, 0],
)

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

motion-planning-0.1.4.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

motion_planning-0.1.4-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file motion-planning-0.1.4.tar.gz.

File metadata

  • Download URL: motion-planning-0.1.4.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for motion-planning-0.1.4.tar.gz
Algorithm Hash digest
SHA256 94a667dc6f8ff83bc4faf0531477c66185e85f46fbe26b65c45f1f220c4cf826
MD5 a5fad773b5f430c3230930a6c2346081
BLAKE2b-256 d1cb7adabb3d98a83befadce87e5c4576ec88fbc38d148ed0a2c65ad34b123e3

See more details on using hashes here.

File details

Details for the file motion_planning-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for motion_planning-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d904c640c6156a1764f5dea4adde0a7045b93d728af91eac7d97f2bea3e3abab
MD5 7c177975570ad852d47d7666432db6a3
BLAKE2b-256 c760f720a4a885c64ba2174ac8fea875fe948b47b04b9ec99c501d07a669f126

See more details on using hashes here.

Supported by

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