pcl icon indicating copy to clipboard operation
pcl copied to clipboard

(Another) attempt at Python bindings?

Open FabianSchuetze opened this issue 1 year ago • 4 comments

Shall we do another attempt at providing Python bindings? I believe some work was started on this during a GSoC? I thought that this was the case, but I cannot find the relevant PR or issue. If so , Should we maybe try to finish this? I'd be willing to put in work and follow the guidance we have on this. I really enjoy working with PCL and prototyping would be substantially easier (for me at least) if we had Python bindings.

FabianSchuetze avatar Oct 16 '22 09:10 FabianSchuetze

The latest work that has been done also in GSOC is available here. I was subtle involved last time, but I have really no idea whats going on there 😁 So I'm not really able to tell you what the state is. But maybe @divmadan could give a quick recap 😄

larshg avatar Oct 20 '22 20:10 larshg

It's been some time since we worked on it, but iirc we had the parsing logic in place and were working on the pybind code-generation. I'll get back to you with the details if you wish, and will be happy to collaborate.

diivm avatar Oct 28 '22 20:10 diivm

@FabianSchuetze @divmadan Would be fantastic if you continue the work on Python bindings! I know many people would be very happy if PCL offered a Python interface. I can't tell or help you much unfortunately, since I wasn't involved in this so far ...

mvieth avatar Nov 10 '22 09:11 mvieth

Thanks for the nice words from all three of you!

I have tried to run step 5 of the description of the repo, python ../../../clang_bind/parse.py --com ./ ../src/simple.cpp, but this didn't work because the module clang_bind wasn't found. I tried installing clang_bind but to no avail. Can it be that the install desriptions in the repo are not exhaustive, @divmadan ? Have you @mvieth or @larshg maybe successfully been able to install the repo?

FabianSchuetze avatar Nov 13 '22 18:11 FabianSchuetze