DESCRIBE PROJECT, SOURCE, ETC
NOTE: initial version roughly implemented the approach from the 2008 paper without respect to curvature, while updates integrated it properly and made strides to update various aspects for efficiency
- ADD VISUALIZATIONS AND STUFF HERE
- LINK TO COMPILED LATEX PDF AS DOCS
- Python 3.10+
- (Optional) A C++ compiler with C++17 support
- Linux:
g++orclang++ - Linux (Debian/Ubuntu):
sudo apt-get install build-essential python3-dev - macOS: Xcode Command Line Tools
- Windows: "Build Tools for Visual Studio" (MSVC)
- Linux:
From the repo root (DolgovMotionPlanner):
- Create a virtual environment using Python's
venv:
python -m venv .env- Activate the virtual environment:
a. For Linux users:
source .env/bin/activateb. For Windows users:
.env/Scripts/activate- Finish environment setup and run initial tests with
pytest:
a. Python only:
python -m pip install -U pip
pip install -e .
pytest -vb. Optional C++ backend:
python -m pip install -U pip
pip install -e ".[cpp]"
$env:DOLGOV_BUILD_CPP="1" # on Linux: export DOLGOV_BUILD_CPP="1"
pip install -e . -v
pytest -m cpp-
ImportError: No module named hybrid_core- The extension wasn’t built. Re-run
python -m pip install -e ..
- The extension wasn’t built. Re-run
-
Windows/MSVC flag issues
setup.pyselects MSVC-friendly optimization flags (/O2). If your environment still errors, removeextra_compile_argstemporarily and try again
-
Forcing a rebuild
- Delete
build/and any*.so/*.pydartifacts (or reinstall in a fresh virtualenv), then rerunpython -m pip install -e ..
- Delete
- MENTION SUBPAR C++ INTEGRATION AND PLANS TO UPDATE
- MISC IDEAS FOR IMPROVEMENTS