Library / SDK
ompl/ompl avatar
ompl/ompl

OMPL: sampling-based motion planning in C++ with Boost, CMake and Eigen, and optional VAMP for SIMD collision checking

The Open Motion Planning Library (OMPL)

2,211 stars719 forksC++License varies

At a glance

What is it?
The Open Motion Planning Library is a C++ library of sampling-based planners with Python bindings. This review covers the required and optional dependencies, the two build routes, what VAMP changes, and the licence field GitHub could not identify.
Who is it for?
Use OMPL if you need ready-made sampling-based planners such as RRT-Connect, PRM, KPIECE and RRT* and can build a C++ project with Boost, CMake and Eigen, or install the Python bindings. Skip it if you want a collision checker or a robot model included, because the README describes planning algorithms and state spaces only.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 20 days ago.
What is it written in?
Mainly C++, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • ompl/ompl2,211 ★ · +43
Star history
Repository2026-10-092026-11-26
ompl/ompl2.2k2.2k

43 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Over 40 planners and 20 state spaces are the library's scope, and collision checking is left to you or to VAMP

OMPL describes itself as an open source sampling-based motion planning library. The README counts over 40 sampling-based planning algorithms, naming RRT-Connect, PRM, KPIECE and RRT*, across more than 20 state spaces, with SE(3) and Euclidean space as examples.

Extension points differ by language. Custom planners can be written in Python or C++, while custom state spaces are C++ only. A team that wants a new state space has to work in the C++ source under src/, even if the rest of the project is Python.

The third bullet in the README is about speed: SIMD-accelerated planning with VAMP for millisecond planning in both Python and C++. That claim comes from the README and no benchmark is attached to it, so treat the millisecond figure as the project's own statement. The repository also contains demos/, py-bindings/, tests/ and doc/, and a CITATION.cff file for people who need to cite the library.

Boost 1.68, CMake 3.12 and Eigen 3.3 are the three hard dependencies

The required dependencies are Boost version 1.68 or higher, CMake version 3.12 or higher and Eigen version 3.3 or higher. A distribution with older packages needs them upgraded before anything compiles.

Five optional dependencies are listed. Doxygen is needed to build a local copy of the documentation. Flann can be used for nearest neighbor queries. Spot constructs finite automata from LTL formulae. yaml-cpp reads and writes YAML world descriptions in the PlanarManipulator demos. VAMP is the fifth, and it is enabled by default.

The README also says OMPL can be built on Linux, macOS and MS Windows. For detailed instructions it points to the installation page on ompl.kavrakilab.org, and the repository includes a vcpkg.json that the README does not describe. The README states no minimum compiler version.

The C++ build starts with git submodule update and ends with make -j

Submodules come first, because the repository has a .gitmodules file and an external/ directory. The README gives the build as a short sequence:

code
git submodule update --init --recursive
mkdir -p build/Release
cd build/Release
cmake ../..
make -j <num_cores> # replace <num_cores> with the number of cores on your machine

The out-of-source layout puts the build in build/Release. The cmake command points two directories up at the top-level CMakeLists.txt. The README gives no install target and no CMake options, so a change such as turning VAMP off is not documented there.

The repository root also holds CMakeModules/ and omplConfig.cmake.in. The README does not say how a downstream project should find the installed package, so check the installation page.

Python bindings install with pip from the py-bindings folder, not from a clone-free command

The Python route is a separate two-step sequence run at the top-level directory:

code
git submodule update --init --recursive
pip install ./py-bindings

The pip target is the local py-bindings folder, so you need a clone with submodules. A PyPI badge in the README links to the ompl package at pypi.org/project/ompl, but the install instructions in the README use the local folder and not a package name.

Because the bindings build from source, the same C++ requirements apply: a compiler, CMake, Boost and Eigen must be present on the machine. A Python-only environment without a C++ toolchain cannot use this command.

Custom planners can be written in Python, per the README, while custom state spaces stay in C++. A Python user can add an algorithm but cannot define a new state space without leaving Python.

VAMP is on by default and moves collision checking to SIMD

VAMP, the Vector-Accelerated Motion Planning project from KavrakiLab, is described as high-performance collision checking with SIMD optimization. The README marks it as an optional dependency and says it is enabled by default, which is unusual: an optional component that is on unless you switch it off.

The consequence is a larger default build than the three required dependencies suggest. The README does not say how to disable VAMP, so look at CMakeLists.txt or the installation page if you want a smaller build.

The feature list ties the two together. The millisecond planning claim refers to SIMD planning with VAMP, in both Python and C++. Without VAMP, the library is still a set of planners, and collision checking is whatever you supply. The README does not describe how to plug a custom collision checker in. An arXiv badge (2603.04668) appears among the paper links, though the README does not say which paper covers VAMP.

Version 2.0 landed on 2026-04-06 and 2.0.2 followed on 2026-08-14

Three releases are listed. OMPL 2.0.0 was published on 2026-04-06, OMPL 2.0.1 on 2026-06-19 and OMPL 2.0.2 on 2026-08-14. The gaps are about ten weeks and eight weeks. The last push was on 2026-10-23, after the latest release, so work continues on the main branch.

The repository is not archived. The README does not describe what changed in the 2.0 line, and no changelog appears among the top-level entries, so the GitHub release pages are the place to look.

The repository uses a .pre-commit-config.yaml and a .clang-format file, with a format workflow badge for formatting. A package.xml is also present, which the README does not mention. The default branch is main.

GitHub reports the licence as NOASSERTION, so read the LICENSE file before redistributing

The README calls OMPL open source, but the repository metadata lists the licence as NOASSERTION. That value means GitHub could not match the LICENSE file to a standard identifier, not that no licence exists. A LICENSE file sits at the top level.

For a company that bundles OMPL in a product, this matters. You cannot rely on an SPDX identifier from the metadata and must read the LICENSE text yourself. The README does not summarise the terms.

The README carries five paper badges linking to DOIs and one arXiv entry, and the repository has a CITATION.cff file. The README gives no support channel, though the project homepage is ompl.kavrakilab.org.

Editorial conclusion

Use OMPL if you need ready-made sampling-based planners such as RRT-Connect, PRM, KPIECE and RRT* and can build a C++ project with Boost, CMake and Eigen, or install the Python bindings. Skip it if you want a collision checker or a robot model included, because the README describes planning algorithms and state spaces only. Before shipping, read the LICENSE file, since GitHub reports the licence as unrecognised.

Frequently asked questions

What does OMPL stand for?

OMPL stands for the Open Motion Planning Library. It is an open source sampling-based motion planning library written in C++ with Python bindings.

Is OMPL free to use?

The README calls OMPL open source, but GitHub lists its licence as NOASSERTION. Read the LICENSE file at the top of the repository for the actual terms.

What is the full form of OMPL?

The full form is The Open Motion Planning Library. It ships over 40 sampling-based planners, including RRT-Connect, PRM, KPIECE and RRT*.

Official sources

  1. Issues
  2. ompl/ompl on GitHub
  3. Project website
  4. README
  5. Releases

Was this useful?