davidcaron / pclpy

Python bindings for the Point Cloud Library (PCL)
MIT License
428 stars 59 forks source link

Particle bindings missing - Particle tracking can not be used #52

Open tamaskaracsony opened 4 years ago

tamaskaracsony commented 4 years ago

From tracking module the Particle definitions are missing the bindings, which would be required for tracking:

PCL: pcl::tracking::ParticleXYZRPY

The following raises TypeError:

tracker=pcl.tracking.KLDAdaptiveParticleFilterOMPTracker.PointXYZRGBA_ParticleXYRPY()
tracker.getBinSize()

TypeError: Unable to convert function return value to a Python type! The signature was
    (self: pclpy.pcl.tracking.KLDAdaptiveParticleFilterTracker.PointXYZRGBA_ParticleXYRPY) -> pcl::tracking::ParticleXYRPY`

it should be included according to: point_types_utils.py

but calling it raises AttributeError:

ParticleT=pcl.tracking.ParticleXYZRPY()
AttributeError: module 'pclpy.pcl.tracking' has no attribute 'ParticleXYZRPY'