-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
problem with the conditional_euclidean_clustering #2127
Comments
@UnaNancyOwen can you give it a try? It's this example. |
Same compiler error occurs in #L24 and #L35.
If fix as follows, this example can build successfully. - Eigen::Map<const Eigen::Vector3f> point_a_normal = point_a.normal, point_b_normal = point_b.normal;
+ Eigen::Map<const Eigen::Vector3f> point_a_normal (point_a.normal), point_b_normal (point_b.normal); |
Can you quickly submit a fix for it? Using pcl/common/include/pcl/impl/point_types.hpp Lines 208 to 212 in b0e83f2
|
It can build successfully. I will send pull request right away. - Eigen::Map<const Eigen::Vector3f> point_a_normal = point_a.normal, point_b_normal = point_b.normal;
+ Eigen::Map<const Eigen::Vector3f> point_a_normal = point_a.getNormalVector3fMap (), point_b_normal = point_b.getNormalVector3fMap (); |
It can build successfully now, thank you very much! |
problem with the example "conditional_euclidean_clustering"
Eigen::Map point_a_normal = point_a.normal, point_b_normal = point_b.normal;
conditional_euclidean_clustering.cpp(24): error C2440: “初始化”: 无法从“const float [3]”转换为“Eigen::Map<const Eigen::Vector3f,0,Eigen::Stride<0,0>>”
The text was updated successfully, but these errors were encountered: