Skip to content

clean thetastar without any dependencies on xml logger.#11

Open
LoveSZ996 wants to merge 8 commits into
PathPlanning:masterfrom
xiahaa:main
Open

clean thetastar without any dependencies on xml logger.#11
LoveSZ996 wants to merge 8 commits into
PathPlanning:masterfrom
xiahaa:main

Conversation

@LoveSZ996
Copy link
Copy Markdown

No description provided.

@LoveSZ996
Copy link
Copy Markdown
Author

ddd

xiahaa and others added 7 commits July 10, 2025 18:29
This commit introduces a Python wrapper for the existing C++ path planning
functionality.

Key changes:
- Modified `src/CMakeLists.txt` to build a shared library Python module
  using pybind11.
- Created `src/python_bindings.cpp` to define the Python module interface
  for the `plan_2d` function.
- The `plan_2d` function in `wrapper.cpp` is exposed to Python, returning
  status, path, and time spent.
- Added `example.py` to demonstrate usage of the Python wrapper.
- Updated `README.md` with instructions for building and running the
  Python wrapper.
- Fixed various build issues encountered during integration, including:
    - Correctly finding pybind11 installed via pip.
    - Resolving undefined symbols by ensuring all necessary source files
      (e.g., `mission.cpp`, `config.cpp`) are compiled and linked.
    - Correcting errors in C++ source files (`config.cpp`, `wrapper.cpp`,
      `mission.cpp`) that prevented compilation or correct execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants