Software
toppra
From github.com/hungpham2511/toppra (opens in a new tab)
- Robot arms and industry
- Library
- MIT
A Python library that computes time-optimal path parameterizations for robots under kinematic and dynamic constraints. It turns a geometric path into the fastest feasible trajectory.
Facts
- GitHub stars
- 951read on 29 Nov 2026
- Last update
- 5 Nov 2026Newest commit on develop
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 8a2a925 (opens in a new tab), on 6 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Takes a geometric path and constraints on joint velocity, joint acceleration, and tool Cartesian velocity.
- Returns the time-optimal path parameterization s_dot(s), from which the fastest trajectory q(t) can be derived.
- Installable with pip; a C++ version with bindings is suggested because Python support will be dropped.
- Documentation and tutorials are published online.
- Originally developed by Hung Pham and Phạm Quang Cường, with contributions for the C++ API and ROS support.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- Used by U-Arm.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
pip install toppraWhere it comes from- Maintenance
- Active, last commit on 5 Nov 2026.
Works with
The robots on Robotheca that use it or can run it, each with how the link was found.
Found by Robotheca in requirements.txt (opens in a new tab)
Use it
Copied word for word from the creator's own documentation; each block links to the lines it comes from.
C++: Building
# clone
git clone -b develop https://github.com/hungpham2511/toppra
# build
mkdir -p cpp/build && cd cpp/build
cmake ..
make -j4
# run test
./tests/all_testsFrom cpp/README.md at ad1f2ae, lines 7–16 (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/hungpham2511/toppra (opens in a new tab)
- The version Robotheca read8a2a925 (opens in a new tab)
- Latest releaseRelease 0.3.1 (23 Aug 2020)
Robotheca read the repository at three versions: the summary at 8121e9a, the facts and the README at 8a2a925 (read on 29 Nov 2026) and the install commands at ad1f2ae (read on 6 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @hungpham2511, at commit 8a2a925, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
toppra: Time-Optimal Path Parameterization
Overview
[!NOTE] Python support for the library will be dropped. Consider using the C++ version with bindings instead.
toppra is a library for computing the time-optimal path parametrization for robots subject to kinematic and dynamic constraints. In general, given the inputs:
- a geometric path
p(s),sin[0, s_end]; - a list of constraints on joint velocity, joint accelerations, tool Cartesian velocity, et cetera.
toppra returns the time-optimal path parameterization: s_dot (s), from which the fastest trajectory q(t) that satisfies the
given constraints can be found.
Documentation and tutorials are available here (opens in a new tab).
You can install the package with pip:
pip install toppra
To install from source for development:
pip install -e python
Support
Bug tracking
Please report any issues, questions or feature request via Github issues tracker (opens in a new tab).
Have a quick question? Try asking in our slack channel.
Contributions
Pull Requests are welcome! Create a Pull Request and we will review your proposal!
Credits
toppra was originally developed by Hung
Pham (opens in a new tab) (Eureka Robotics (opens in a new tab), former CRI
Group (opens in a new tab)) and Phạm Quang Cường (opens in a new tab)
(Eureka Robotics, CRI Group) with major contributions from talented
contributors:
- Joseph Mirabel (opens in a new tab) (C++ API)
- EdsterG (Python3 support).
- Sebastian Castro (opens in a new tab) (ROS support and maintenance)
If you have taken part in developing and supporting the library, feel free to add your name to the list.
The development is also generously supported by Eureka Robotics (opens in a new tab).
Citing toppra
If you use this library for your research, we encourage you to
- reference the accompanying paper A new approach to Time-Optimal Path Parameterization based on Reachability Analysis (opens in a new tab), IEEE Transactions on Robotics, vol. 34(3), pp. 645-659, 2018.
- put a star on this repository.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.