colinator / octomap-python

Python binding of the OctoMap library from Suveer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

octomap-python

Python binding of the OctoMap library.

Installation

pip install octomap-python

Example

git clone --recursive https://github.com/wkentaro/octomap-python.git && cd octomap-python
pip install -e '.[example]'

cd examples
python insertPointCloud.py

Acknowledgement

This is a fork of neka-nat/python-octomap.

STEPS:

RUN in same terminal:

  1. At root run : python setup.py bdist_wheel
  2. Set LD_LIBRARY_PATH : export LD_LIBRARY_PATH=/home/gsuveer/octomap/lib Install from : https://github.com/suveergarg/octomap/tree/gsuveer/semantic_octomap
  3. cd dist/ There should be a .whl file here.
  4. auditwheel repair --plat manylinux_2_31_x86_64 octomap_python-1.8.0.post12-cp38-cp38-linux_x86_64.whl This will create a folder called wheelhouse with the final .whl file.
  5. install this FINAL .whl file using : pip install /dist/wheelhouse/octomap_python-1.8.0.post12-cp38-cp38-manylinux_2_31_x86_64.whl --force-reinstall
  6. Resinstall right version of numpy: pip install numpy==1.22.4 --force-reinstall

About

Python binding of the OctoMap library from Suveer.


Languages

Language:Cython 81.9%Language:Python 17.7%Language:C 0.4%