norlab-ulaval / libpointmatcher

An Iterative Closest Point (ICP) library for 2D and 3D mapping in Robotics
BSD 3-Clause "New" or "Revised" License
1.63k stars 549 forks source link

Passing Eigen::MatrixXf to libpointmatcher #238

Closed ashnarayan13 closed 6 years ago

ashnarayan13 commented 6 years ago

Hi,

I already parse the csv files and store them as Eigen matrices, is there any way to pass the eigen matrix directly to the libpointmatcher? I do some filtering of the data before doing the ICP, hence i have them in Eigen format. Any leads?

Thank you!

pomerlef commented 6 years ago

This is similar to #234.

Your best documentation is the unit test on DataPoints: https://github.com/ethz-asl/libpointmatcher/blob/master/utest/ui/DataFilters.cpp#L52

We are missing a bit of time for a tutorial about that topic.

ashnarayan13 commented 6 years ago

Thank you! The unit tests helped. I will close the issue