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

lidarOdomKNNError(pointcloud, pointcloud) pointcloud is the same? #25

Open
improve100 opened this issue Apr 1, 2020 · 1 comment
Open

Comments

@improve100
Copy link

hello,why lidarOdomKNNError pass the same argument?

float Aligner::lidarOdomKNNError(const Lidar& lidar) const {
Pointcloud pointcloud;
lidar.getCombinedPointcloud(&pointcloud);
return lidarOdomKNNError(pointcloud, pointcloud);
}

@LarryDong
Copy link

Hi, I guess this function may be modified from other uses. It can search KNN between 2 pointClouds if using 2 different arguments. Since in this code, pointCloud is construct using all scans from Bag, if the transform is correct (between scans), points in different scans from the same region should coincide. As a results, they added "++k" in this function. But I think ++k is not necessary.

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