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

Purpose of kPadding in OccupiedSpaceCostFunction2D #1950

Open
lss0815 opened this issue Jan 30, 2024 · 0 comments
Open

Purpose of kPadding in OccupiedSpaceCostFunction2D #1950

lss0815 opened this issue Jan 30, 2024 · 0 comments

Comments

@lss0815
Copy link

lss0815 commented Jan 30, 2024

Hello, I am presently examining algorithms and implementations related to scan matching.

During my review, I encountered a constant variable within the cost function OccupiedSpaceCostFunction2D. Specifically, the variable is kPadding found on line 69 in the cartographer/mapping/internal/2d/scan_matching/occupied_space_cost_function_2d.cc file. I have been unable to discern the purpose behind summing and subtracting this variable when accessing grid data. Does anyone have insights into the intended use or purpose of this variable?

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