User Guide#

Task-oriented guides to every subsystem in ManipulaPy — from screw-theory kinematics and rigid-body dynamics through GPU-accelerated planning, perception, and the differentiable compute backends introduced in v1.4.

Contents#

Motion Planning & Simulation

Reading tracks#

The guides are independent, but they build on each other in a few natural orders. Pick the track that matches what you are trying to do.

TrackSuggested order
New to manipulation Kinematics → URDF Processor → Simulation → Trajectory Planning
Control engineering Dynamics → Control → Collision Checker → Singularity Analysis
Performance and GPU CUDA Kernels → Trajectory Planning → Potential Field → Compute Backends
Differentiable robotics Compute Backends → Kinematics → Dynamics → Singularity Analysis
Perception-driven systems Vision → Perception → Path Planning → Control

Core robotics#

Introductory

Kinematics

Robot geometry, forward and inverse kinematics, space and body Jacobians, and workspace analysis.

screw axes workspace plots
Intermediate

Dynamics

Mass matrices, inverse and forward dynamics, Coriolis and centrifugal terms, and gravity compensation.

cached inertia GPU accelerated
Intermediate

Control

PID, computed-torque and adaptive controllers, Ziegler-Nichols auto-tuning, and response analysis.

auto-tuning step response
Introductory

URDF Processor

Load URDF files, extract link and joint parameters, and build SerialManipulator and dynamics objects.

native parser built-in models

Motion planning and simulation#

Intermediate

Trajectory Planning

CUDA-accelerated joint and Cartesian trajectory generation with time scaling and collision avoidance.

CUDA kernels quintic scaling
Intermediate

Path Planning

Batch path generation, obstacle-aware routing, and the planning interfaces that feed the trajectory layer.

batched obstacle aware
Introductory

Simulation

PyBullet physics simulation, trajectory execution, and interactive robot control. Runs on CPU; no GPU required.

PyBullet real-time
Intermediate

Collision Checker

Self-collision detection, environment obstacles, and safety monitoring during execution.

convex hull
Advanced

Potential Field

Artificial potential fields for reactive path planning: attractive goals and repulsive obstacle gradients.

fused kernels
Advanced

Singularity Analysis

Manipulability ellipsoids, condition numbers, workspace mapping, and singularity avoidance.

Monte Carlo differentiable

Perception#

Intermediate

Vision

Camera configuration, stereo rectification, depth processing, multi-camera rigs, and PyBullet virtual cameras.

stereo calibration
Advanced

Perception

YOLO object detection, DBSCAN 3D clustering, scene understanding, and integration with planning and control.

YOLO DBSCAN

Advanced topics#

New in 1.4

Compute Backends

Run the same kinematics and dynamics on NumPy, CuPy, PyTorch or JAX — with autodiff gradients on the core math, and an explicit contract for everything outside it.

differentiable one API
Expert

CUDA Kernels

Custom Numba CUDA kernels, memory management, launch configuration, and performance profiling.

Numba profiling

Quick reference#

Getting help#

Each guide ships complete, runnable examples. If something still does not work:

  1. Check the API Reference Guide for exact signatures and defaults.

  2. Search the GitHub issue tracker for the error you are seeing.

  3. Open a new issue with a minimal reproducing script, your Python version, and the active backend.