gaoxiang12 / slambook2

edition 2 of the slambook
MIT License
5.39k stars 2k forks source link

Use keyframe to make pointcloud #224

Open huonggiangdhtn opened 2 years ago

huonggiangdhtn commented 2 years ago

I use keyframe to make pointcloud, but the result seem have some error at the pose. Can you show me what wrong? This is code where I generate pointcloud: SE3 T1 = kf->Pose(); PointCloud::Ptr cloud(new PointCloud); pcl::transformPointCloud( tmp, cloud, T1.inverse().matrix());

Screenshot from 2022-02-21 20-32-54 ?