Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python bindings #56

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Python bindings #56

wants to merge 12 commits into from

Conversation

pdell-kitware
Copy link
Collaborator

@pdell-kitware pdell-kitware commented Nov 29, 2022

Update Python Bindings, in order to be able to run ct_icp within pylidar-SLAM

TODOS:

SlamCore

  • Point cloud API
  • Basic types
  • IO methods
  • Algorithms

CT-ICP

  • Datasets
  • Map & Neighborhood
  • CT_ICP
  • Odometry

TESTS, CI, Doc

  • Add test_binding.py to the Github CI
  • Documentation on the Readme / Wiki for the python bindings
  • Regression tests on several (shorten) datasets

@pdell-kitware pdell-kitware mentioned this pull request Nov 29, 2022
@pdell-kitware pdell-kitware linked an issue Dec 5, 2022 that may be closed by this pull request
> **CT-ICP** comes with python bindings. To build the python bindings, follow the following instructions:

- 1. Install the superbuild (**with pybind11** /!\ )
- 2. Install `CT_ICP` (see Step 1., with the CMake option `WITH_PYTHON_BINDING` activated)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can install it with the 2nd step instead of the 1st. For me on Ubuntu 20.04 superbuild fails after a successful build of a Eigen3_ext target. But the 2nd option worked alright, and generated a shared library.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, maybe it actually doesn't work that easily, huh. I get undefined references for the shared slam core lib...

dataset_option = Arguments.DATASET_OPTION.dataset
elif parsed_args.ply:
dataset_option = Arguments.DATASET_OPTION.ply
elif parsed_args.config:
Copy link

@gyscos gyscos Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no config option in the arguments.
Did you mean dataset_config? From up there.

Suggested change
elif parsed_args.config:
elif parsed_args.dataset_config:

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.

Pybind issue
3 participants