Closed tungtungyan closed 2 years ago
At this time, CPD's transformation functions are not generic over the numeric type in the matrix. I've opened https://github.com/gadomski/cpd/issues/156 to capture the feature request.
You could always convert PCL's output to doubles to use them w/ CPD.
I am using PCL to convert the matrix. It defines as a float type. However, the cpd::Matrix defines as an Eigen::MatrixXd. Can it change to Eigen::MatrixXf? How can solve this problem?