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#
Core Robotics Fundamentals
Motion Planning & Simulation
- Trajectory Planning User Guide
- Introduction
- Joint-Space Time Scaling
- Cartesian-Space Interpolation
- Dynamics-Aware Torque Computation
- Potential-Field Collision Avoidance
- Basic Usage
- TrajectoryPlanning Class
- Core Methods
- Dynamics Integration
- Trajectory Visualization
- Advanced Features
- Performance Optimization
- Real-Time Applications
- High-Frequency Control Simulation
- Practical Applications
- Best Practices
- Summary
- Optimized Path Planning User Guide
- Introduction
- Getting Started
- Performance-Optimized Methods
- Advanced Performance Features
- Optimized Dynamics Integration
- Optimized Cartesian Trajectories
- Real-World Application Examples
- Advanced Optimization Techniques
- Performance Visualization and Analysis
- Deployment Best Practices
- Summary and Migration Guide
- Conclusion and Best Practices
- Simulation Module User Guide
- Singularity Analysis User Guide
- Collision Checker Module User Guide
- Potential Field Module User Guide
Perception & Intelligence
Advanced Topics
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.
| Track | Suggested 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#
Kinematics
Robot geometry, forward and inverse kinematics, space and body Jacobians, and workspace analysis.
Dynamics
Mass matrices, inverse and forward dynamics, Coriolis and centrifugal terms, and gravity compensation.
Control
PID, computed-torque and adaptive controllers, Ziegler-Nichols auto-tuning, and response analysis.
URDF Processor
Load URDF files, extract link and joint parameters,
and build SerialManipulator and dynamics objects.
Motion planning and simulation#
Trajectory Planning
CUDA-accelerated joint and Cartesian trajectory generation with time scaling and collision avoidance.
Path Planning
Batch path generation, obstacle-aware routing, and the planning interfaces that feed the trajectory layer.
Simulation
PyBullet physics simulation, trajectory execution, and interactive robot control. Runs on CPU; no GPU required.
Collision Checker
Self-collision detection, environment obstacles, and safety monitoring during execution.
Potential Field
Artificial potential fields for reactive path planning: attractive goals and repulsive obstacle gradients.
Singularity Analysis
Manipulability ellipsoids, condition numbers, workspace mapping, and singularity avoidance.
Perception#
Vision
Camera configuration, stereo rectification, depth processing, multi-camera rigs, and PyBullet virtual cameras.
Perception
YOLO object detection, DBSCAN 3D clustering, scene understanding, and integration with planning and control.
Advanced topics#
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.
CUDA Kernels
Custom Numba CUDA kernels, memory management, launch configuration, and performance profiling.
Quick reference#
Getting help#
Each guide ships complete, runnable examples. If something still does not work:
Check the API Reference Guide for exact signatures and defaults.
Search the GitHub issue tracker for the error you are seeing.
Open a new issue with a minimal reproducing script, your Python version, and the active backend.