ompl / omplapp

The Open Motion Planning Library (OMPL), GUI + FCL/Assimp integration
https://ompl.kavrakilab.org
Other
156 stars 80 forks source link

Can not generate python bindings for ompl.tools module #16

Open huanglu28 opened 1 month ago

huanglu28 commented 1 month ago

I am using OMPLAPP in Ubuntu 22.04. I want to use the benchmark function to benchmark planners in Pybullet. However, I can not import the module ompl.tools._tools. Everything else works fine except for this one. There is no error generates while I using make -j 4 update_bindings && make -j 4. I want to know how to make the tools mudule works.

ChamzasKonstantinos commented 1 month ago

Hi @huanglu28 the issue you are facing is related to ompl python binding generation and not omplapp, a.k.a the ompl repo would be the most appropriate place to post this. Probably you are missing some dependencies when building the bindings. You can check this by inspecting the output of cmake and identifying missing dependencies.

However the easiest way to install ompl with python bindings since you are on Ubuntu22.04 would be to install the python wheel directly, without building from source:

wget https://github.com/ompl/ompl/releases/download/prerelease/ompl-1.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
pip install ompl-1.6.0-cp310-cp310-manylinux_2_28_x86_64.whl