Phylliade/ikpy

IKPy, an Universal Inverse Kinematics library

What it solves

IKPy solves the inverse kinematics problem for robotic arms and articulated chains, computing the joint angles required to place a robot's end effector at a specific target position and orientation.

How it works

It parses robot descriptions from standard formats like URDF, MuJoCo MJCF, or motion-capture BVH files, and builds a kinematic chain between a user-defined base and tip. It then uses numerical optimization via NumPy or an optional JAX backend with analytical Jacobians to solve the inverse kinematics, supporting features like multi-start optimization to avoid local minima, active-link masks, and trajectory interpolation.

Who it’s for

Robotics engineers, researchers, and developers working in Python who need a fast, pure-Python library to simulate, test, and control robotic arms or motion capture skeletons without dealing with complex C++ dependencies.

Highlights

  • Pure-Python library with quick installation and no compilation required.
  • Supports URDF, MuJoCo MJCF, and BVH motion capture file formats.
  • Optional JAX backend for accelerated inverse kinematics using automatic differentiation.
  • Built-in plotting capabilities to visualize kinematic chains in 3D without a physical robot or simulator.
  • Trajectory tracking and multi-start optimization to handle complex kinematic chains and avoid poor local minima.

Related

  • Project
  • Project
  • Project
  • Project
  • Project