how conf file is used?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how conf file is used?

M rezaei
Hi
I use stanford dataset. I want to use conf file, In my program, model is bun045 and scene is bun00.
In conf file , it's written :
bun000.ply 0 0 0 0 0 0 1bmesh
bun045.ply -0.0520211 -0.000383981 -0.0109223 0.00548449 -0.294635 -0.0038555 0.955586bmesh
 
and my code is:
pcl::transformPointCloud(*model, *model, Eigen::Vector3f(-0.0520211, -0.000383981, -0.0109223), Eigen::Quaternionf(0.00548449, -0.294635, -0.0038555, 0.955586));

pcl::transformPointCloud(*scene, *scene, Eigen::Vector3f(0, 0, 0), Eigen::Quaternionf(0,0,0,1));

I expect that two bunny be the same after running the code but the result is:


what's wrong?
Thanks