Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

erl_bubble_star

Bubble* is an A*-style path planner that grows signed-distance-field (SDF) "bubbles" of free space at each node and jumps directly to the bubble surface instead of stepping cell-by-cell.

The library is header-only C++17 (include/erl_bubble_star/) with pybind11 Python bindings, and supports planning in 2D through 7D. A reference grid A* implementation is included for comparison.

🔗 Interactive pathfinding demo: https://jasontstanley.github.io/PathFinding.js/visual/

Requirements

  • A C++17 compiler
  • Eigen3, Boost (header-only boost::heap), and OpenMP
  • Python ≥ 3.11 with NumPy ≥ 2.0 (for the Python bindings)

Install

pip

pip install setuptools wheel scikit-build cmake pybind11
pip install .

Then import as:

from erl_bubble_star_py import BubbleStar2D

CMake (C++ / from source)

mkdir build && cd build
cmake ..
make -j

Usage

See scripts/demo.py for a runnable 2D example — it builds a config, defines an SDF for a single circular obstacle, and plans a path:

python scripts/demo.py

plan() returns a PlanResults with path (metric waypoints), bubbles (clearance sphere at each waypoint), and pathLength. For higher dimensions, use BubbleStar3D … BubbleStar7D. plan_multi(points) plans through a sequence of waypoints, parallelising each segment with OpenMP.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages