COPP: An Open-Source Ultra-Fast Library for Convex-Objective Path Parameterization
Yunan Wang, Suqin He, Shize Lin, Chuxiong Hu
Cite for general use of COPP
The professional engine for time- and energy-optimal trajectory parameterization — with third-order jerk limits, general convex objectives, and real-time speed.
$pip install copp-py
faster on 3rd-order problems than a traditional LP — 10.6 ms vs 327 ms 7-DOF · 1000 intervals · 100 random spline paths
Path, constraints, and objective feed into the COPP solver core. It returns the timed trajectory — positions, velocities, accelerations and jerks for every axis, sampled at a fixed period such as 1 ms or at any instants you choose, ready for your controller.
Second order bounds each axis's acceleration; third order bounds its jerk too, so acceleration ramps instead of jumping.
Jerk limits on every axis keep acceleration continuous — smoother motion, less wear, and less excitation of structural modes.
Beyond time-optimal: minimize thermal energy, torque variation, or any convex cost — one engine, many goals. Second-order problems solve to the global optimum, third-order ones to a KKT point.
A native Rust core, with C, C++, Python and MATLAB bindings.
Second-order models bound velocity, acceleration and torque; third-order models add jerk. TOPP minimizes traversal time; COPP optimizes any convex objective.
Every demo minimizes time plus a smoothness term, under third-order constraints on every axis.
100 random 7-DOF spline paths, 1000 intervals each. Like-for-like: 2nd-order vs 2nd-order, 3rd-order vs 3rd-order.
| Capability | Community | Pro |
|---|
Hard limits, never relaxed into soft penalties.
is exactly the input — no extra contour error from the timing stage.
strictly almost everywhere — no backtracking, no zero-velocity singularities.
Feasibility guarantees for long-path online planning.
No more of the very slow start-up that conventional methods suffer at stationary boundaries (, ).
Robust on long paths and fine discretizations, as industrial machines demand.
If you use COPP in your work, cite the paper that matches it.
Yunan Wang, Suqin He, Shize Lin, Chuxiong Hu
Cite for general use of COPP
Yunan Wang, Chuxiong Hu, Yuanshenglong Li, Jichuan Yu, Jizhou Yan, Yixuan Liang, Zhao Jin
Cite for TOPP3 / COPP3
Yunan Wang, Jizhou Yan, Chuxiong Hu, Zeyang Li
Cite for the Pro RDDP solvers
TOPP2-RA, COPP2-SOCP, TOPP3-LP/SOCP and COPP3-SOCP solvers, usable from Rust, C, C++, Python and MATLAB. Read the docs, run the examples, benchmark it yourself.
github.com/TOPP-THU/copp ↗RDDP/RA solvers, long-horizon stability, commercial licensing and integration support for production robotics and CNC. Let's discuss your application.
Request Pro accessPro licensing, commercial collaboration, technical consulting, or general questions — write to us.