Open source · free files
Berkeley Humanoid Lite Arm (BHL v1.5)
Robot arm · Intermediate
- Score
- Buildability 75 out of 100
- Cost
- Not stated
Software
From github.com/kevinzakka/mink (opens in a new tab)
A Python library for differential inverse kinematics on robot models, built on the MuJoCo physics engine. It is a port of the Pink library.
Checked on GitHub on 28 Nov 2026.
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 1850518 (opens in a new tab), on 21 Nov 2026.
Robotheca's summary of the project's documents, not the creator's words.
uv add minkWhere it comes fromThe robots on Robotheca that use it or can run it, each with how the link was found.
Open source · free files
Robot arm · Intermediate
Found by Robotheca in pyproject.toml (opens in a new tab)
Copied word for word from the creator's own documentation; each block links to the lines it comes from.
git clone https://github.com/kevinzakka/mink.git && cd mink
uv syncRobotheca doesn't review code. Read it before running it.
Robotheca read the repository at three versions: the summary at ae67596, the facts and the README at 1850518 (read on 28 Nov 2026) and the install commands at 8258583 (read on 6 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The creator's own README, copied as written: README.md by @kevinzakka, at commit 1850518, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)
mink is a Python library for differential inverse kinematics, built on MuJoCo (opens in a new tab).
You give mink tasks (objectives, such as a target pose for a frame), limits (inequalities, such as a joint range), and constraints (equalities that must hold, such as a foot that stays flat on the floor). At each step, mink solves a quadratic program for a velocity: the one that best reduces the task errors while it satisfies every limit and constraint. Integrate it over a short time step to get the next configuration, and repeat to move the robot toward the goal. mink works with any MuJoCo model, from a single arm to a humanoid with a floating base.
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
Each image links to a related example.
uv add mink
This example moves the Panda hand 20 cm forward (+x) and 20 cm down. A posture task keeps the arm near its home configuration.
import mujoco
import numpy as np
import mink
from robot_descriptions import panda_mj_description
model = mujoco.MjModel.from_xml_path(panda_mj_description.MJCF_PATH)
configuration = mink.Configuration(model)
configuration.update_from_keyframe("home")
hand = mink.FrameTask("hand", "body", position_cost=1.0, orientation_cost=1.0)
start = configuration.get_transform_frame_to_world("hand", "body")
hand.set_target(mink.SE3.from_translation(np.array([0.2, 0.0, -0.2])) @ start)
posture = mink.PostureTask(model, cost=1e-2)
posture.set_target_from_configuration(configuration)
dt = 0.01
for _ in range(200):
vel = mink.solve_ik(configuration, [hand, posture], dt, "daqp")
configuration.integrate_inplace(vel, dt)
Each loop iteration is one step: solve_ik returns a velocity, and integrate_inplace integrates it over dt to update the configuration.
You can also pass a task as a constraint. A hard constraint must hold exactly. If the problem has no feasible solution, solve_ik raises NoSolutionFound. An Elastic constraint replaces the equality with an L1 penalty. It holds exactly while the penalty is large enough and otherwise yields, so the problem stays feasible.
vel = mink.solve_ik(
configuration, [posture], dt, "daqp",
constraints=[mink.Elastic(hand, penalty=1e3)],
)
The documentation (opens in a new tab) explains tasks, limits, and the underlying formulation.
Tasks. mink minimizes the task errors in a weighted least-squares sense.
FrameTask, RelativeFrameTask)ComTask) and joint posture (PostureTask)LookAtTask, AxisAlignTask)EqualityConstraintTask)DampingTask, KineticEnergyRegularizationTask, DofFreezingTask)Limits. mink applies limits as inequalities.
ConfigurationLimit, VelocityLimit)FreeJointVelocityLimit)CollisionAvoidanceLimit)Constraints. mink applies constraints as equalities.
Elastic, which yields through an L1 penalty instead of making the problem infeasibleFrame transforms and the errors and Jacobians of frame tasks use native C code.
To run an example:
git clone https://github.com/kevinzakka/mink.git && cd mink
uv sync
uv run examples/arm_ur5e.py # Linux
./fix_mjpython_macos.sh # macOS, once
uv run mjpython examples/arm_ur5e.py # macOS
More examples:
Elastic constraint (arm_panda_elastic.py (opens in a new tab))EqualityConstraintTask models the leg linkages of Agility Cassie, which MuJoCo defines as equality constraints (biped_cassie.py (opens in a new tab))DofFreezingTask, passed as a constraint, holds a subset of the joints fixed (arm_panda_dof_freezing.py (opens in a new tab))If you use mink in your research, cite it as follows:
@software{Zakka_Mink_Python_inverse_2026,
author = {Zakka, Kevin},
title = {{Mink: Python inverse kinematics based on MuJoCo}},
year = {2026},
month = oct,
version = {1.4.0},
url = {https://github.com/kevinzakka/mink},
license = {Apache-2.0}
}
Report bugs in the issue tracker (opens in a new tab). To submit a pull request, read the contributing guidelines (opens in a new tab).
mink is a direct port of Pink (opens in a new tab), which is built on Pinocchio (opens in a new tab). Stéphane Caron, the author of Pink, is a role model for open-source software in robotics. This library would not have been possible without his work and assistance throughout this project.
mink also adapts code from these libraries:
The Lie group code refers to numbered equations in A micro Lie theory for state estimation in robotics (opens in a new tab), Joan Solà, Jérémie Deray, and Dinesh Atchuthan, arXiv:1812.01537 (2018).
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.