YongchieM / Pose-Estimation-PPF

4 stars 1 forks source link

occured "Floating point exception (core dumped)" with pcl::transformPointCloud(*colored_model, *transformed, Tfinal); #1

Open LF177 opened 2 years ago

LF177 commented 2 years ago

I compiled the project successfully but ran into this problem while running it.

here is the output: train % matching % total number of poses 165 number of poses after clustering 139 rescore ...... rescore after icp ...... final icp ...... 0.137606 -0.964925 0.223588 132.647 -0.896246 -0.217402 -0.386635 106.016 0.421681 -0.147186 -0.894726 817.451 0 0 0 1 Floating point exception (core dumped)

I use cout << Tfinal <<endl to locate the problem happed cause ''pcl::transformPointCloud(colored_model, transformed, Tfinal);''

Have you ever encountered this situation? Can you give me some advice? Thank you.

My environment: Eigen 3.X, PCL 1.12, OpenCV 4.6

ljjTYJR commented 1 year ago

hi, I ran with the same problem. Have you solved the problem?

ljjTYJR commented 1 year ago

hi, I ran with the same problem. Have you solved the problem?

I found my problem, it is about push_back, I don't know whether it is a bug...

LF177 commented 1 year ago

@ljjTYJR I've got the output. Maybe you can check if there's something wrong with *transformed

axililsz commented 6 months ago

colored_model->width no set. https://github.com/PointCloudLibrary/pcl/issues/5389