Skip to content
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

laserCloudCornerArray和laserCloudSurfArray赋值的问题 #10

Open
jhx646018057 opened this issue May 18, 2020 · 0 comments
Open

laserCloudCornerArray和laserCloudSurfArray赋值的问题 #10

jhx646018057 opened this issue May 18, 2020 · 0 comments

Comments

@jhx646018057
Copy link

LaserMapping.cpp中 laserCloudCornerArray和laserCloudSurfArray感觉没有赋值进来,就直接使用了。
这两个指针,456行初始化了下
laserCloudCornerArray[i].reset(new pcl::PointCloud());
laserCloudSurfArray[i].reset(new pcl::PointCloud());
期间没有数据点加入,然后就直接在524行使用其进行赋值给其他点云指针。这里是不是缺少了把corn点云存到laserCloudCornerArray这种操作?而且我看有的版本代码中根本没有这个laserCloudCornerArray和laserCloudSurfArray。
pcl::PointCloud::Ptr laserCloudCubeCornerPointer =
laserCloudCornerArray[i + laserCloudWidth * j + laserCloudWidth * laserCloudHeight * k];//that's [i + 21 * j + 231 * k]
pcl::PointCloud::Ptr laserCloudCubeSurfPointer =
laserCloudSurfArray[i + laserCloudWidth * j + laserCloudWidth * laserCloudHeight * k]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant