8000 ros2 build and warnings fixes. by ewak · Pull Request #31 · MIT-SPARK/KISS-Matcher · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ros2 build and warnings fixes. #31

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

Merged
merged 13 commits into from
Mar 9, 2025

Conversation

ewak
Copy link
Contributor
@ewak ewak commented Mar 3, 2025

I was exploring and decided to help fix some warnings. I note that newer versions of nanoflann fix the templates so that you can better choose the type that is used to store indexes. I changed it from size_t to uint32_t in this pull request. That may save some memory.
I also got brought run_kiss_matcher.cpp into kiss_matcher_ros.
Some of these changes may be useful to you.
I tried to keep them isolated and logical.

ewak added 7 commits March 3, 2025 12:16
Signed-off-by: Mike Wake <macwake@gmail.com>
This is similar to the mechanism used by kiss-icp

Signed-off-by: Mike Wake <macwake@gmail.com>
Signed-off-by: Mike Wake <macwake@gmail.com>
Add required pcl headers
Take colorize function from quatro_utils.h
Add roll_aug_angle
Avoid segfault on ubuntu22.04 by just calling spin() on pcl viewer

Signed-off-by: Mike Wake <macwake@gmail.com>
Compared with NANOFLANN_VERSION 0x170

Signed-off-by: Mike Wake <macwake@gmail.com>
Signed-off-by: Mike Wake <macwake@gmail.com>
Signed-off-by: Mike Wake <macwake@gmail.com>
@LimHyungTae
Copy link
Member

Whoa, Mike, really appreciate it, and that's what I needed! But now, I'm trying to submit a paper to ICCV, so could you give me a week? I'll check the codes this Sunday. Thanks!

ewak added 6 commits March 4, 2025 16:22
Signed-off-by: Mike Wake <macwake@gmail.com>
When use_ratio_test is true, need more space
allocated to accomodate for it.

Also avoid invalid read by testing ji != -1
before attempting to use it in i_to_j_multi_flann

Signed-off-by: Mike Wake <macwake@gmail.com>
Signed-off-by: Mike Wake <macwake@gmail.com>
…D_OPERATOR_NEW

address sanitizer is currently giving allocation alignment errors.
Using c++17 to attempt to avoid them but there appears to be
a mix of built libraries mixing eigen alignment preventing
address sanitzer from working

Signed-off-by: Mike Wake <macwake@gmail.com>
Keep default of CMAKE_BUILD_TYPE=Release but
allow it to be overriden for debugging purposes

Signed-off-by: Mike Wake <macwake@gmail.com>
Signed-off-by: Mike Wake <macwake@gmail.com>
@ewak
Copy link
Contributor Author
ewak commented Mar 4, 2025

Here are some more fixes. Its now valgrind and address sanitizer clean with a stress test to solve #30

@LimHyungTae
Copy link
Member

I tested your codes, and they work without errors. Thanks for your kind attention and contributions!

@LimHyungTae LimHyungTae merged commit 8cffeb8 into MIT-SPARK:main Mar 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants
0