Skip to main content

Pink motions

PyPI version

A library of robot motions performed by inverse kinematics and model predictive control:

Sample scenarios from pink motions

Usage

The recommended way to use pink motions is with pixi, which handles all dependencies automatically:

git clone https://github.com/stephane-caron/pink_motions.git
cd pink_motions
pixi run scenario --robot ur5 --qpsolver quadprog

This will open a MeshCat tab in your web browser playing the scenario for its prescribed duration.

This task is just an alias to examples/run_scenario.py, which simply calls:

pink_motions.play_scenario(
    name="jaxon",
    dt=0.005,  # seconds
    qpsolver="proxqp",
)

See also

Pink motions are specified using a combination of several open-source libraries:

  • robot_descriptions.py to load robot descriptions
  • Pinocchio for forward kinematics functions: Jacobians, Jlog6, ...
  • MeshCat for (optional) visualization
  • Pink for differential inverse kinematics
  • qpmpc for linear model predictive control, used in biped and humanoid scenarios

The library is also related to the following projects:

  • ik_qpbenchmark: Test set for QP solvers with differential IK problems generated from pink motions.
  • LoIK: Constrained differential inverse kinematics solver that was evaluated on pink motions.

Metadata

Release files for pink_motions 0.3.0

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

Source distribution (sdist)

Source distribution for pink_motions 0.3.0
File Size Uploaded
pink_motions-0.3.0.tar.gz 276.3 kB Details

Built distribution (wheel)

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

Total release size: 302.0 kB

Release files / pink_motions-0.3.0.tar.gz

Download URL pink_motions-0.3.0.tar.gz
Size 276.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3d0c3c72e7cba03739d74e4f57b8fc3d562b2e6dbcd87a632236a90fc384c36c
BLAKE2b-256 checksum
How to use checksums
d4b6aa2016e60e1d9b060c26dd9bacc9f9f20a8d58d12e81c224a7e22a6867c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

Release files / pink_motions-0.3.0-py3-none-any.whl

Download URL pink_motions-0.3.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66c12a607f81548803fba6912432ff9c3509bf53f367dbf4d38e20de5e58ba38
BLAKE2b-256 checksum
How to use checksums
04186195c64373899147018fc8516ab719c97babdd1171d4c513951ea22412d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.3.0 This release

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