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

How can this loam build a completed map? #154

Open
jjrCN opened this issue Feb 27, 2020 · 1 comment
Open

How can this loam build a completed map? #154

jjrCN opened this issue Feb 27, 2020 · 1 comment

Comments

@jjrCN
Copy link

jjrCN commented Feb 27, 2020

The finial output topic of the loam is "/laser_cloud_surround", but it is not a completed result of the input dag. The points in "/laser_cloud_surround" is only the nearest part of the intput lidar points. As the code below which is from the function "bool BasicLaserMapping::createDownsizedMap()", the points in "/laser_cloud_surround" is cleared every time.
// accumulate map cloud
_laserCloudSurround->clear();
for (auto ind : _laserCloudSurroundInd)
{
*_laserCloudSurround += *_laserCloudCornerArray[ind];
*_laserCloudSurround += *_laserCloudSurfArray[ind];
}

so, how can build a full and completed map?

@he-guo
Copy link

he-guo commented Aug 23, 2020

hello,have you solved this problem, I also encountered the same problem.

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

2 participants