Skip to main content

Pink motions

Build PyPI version

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

Sample scenarios from pink motions

Usage

You can try out a scenario from the library directly using pixi:

pixi run scenario --robot ur5 --qpsolver quadprog

Or equivalently uv run examples/play_scenario.py with the same arguments. In Python, this example simply does:

import pink_motions

pink_motions.play_scenario(
    name="ur5",
    dt=0.005,  # timestep in seconds
    qpsolver="quadprog",
)

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

See also

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

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

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.
  • Pinker: Next-generation differential inverse kinematics library, which was benchmarked using pink motions.

Metadata

Release files for pink_motions 1.0.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 1.0.0
File Size Uploaded
pink_motions-1.0.0.tar.gz 294.9 kB Details

Built distribution (wheel)

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

Total release size: 320.7 kB

Release files / pink_motions-1.0.0.tar.gz

Download URL pink_motions-1.0.0.tar.gz
Size 294.9 kB
Tags Source
SHA-256 checksum
How to use checksums
379453abf347c37ecd062cf79f1d5fdae58ab16863e430479d0205937911d2c5
BLAKE2b-256 checksum
How to use checksums
ba0ab388a37a01dda6b6a5ab920f569b4bb7a067bdfb3cad5d8f199cc10bd961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

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

Download URL pink_motions-1.0.0-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30e2fbde948e44731da491d219b78009d9415afd5cd487869047fbd464ac6533
BLAKE2b-256 checksum
How to use checksums
eb2861644ce345b513967cf0efc4d15aee3a94dfd5bf6e1c73c903daa939e449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.3.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