RuanJY / SLAMesh

ICRA2023, A real-time LiDAR simultaneous localization and meshing method.
GNU General Public License v3.0
362 stars 47 forks source link

A question about num_test in updateVertices() #10

Closed SLAMWang closed 1 year ago

SLAMWang commented 1 year ago

Hi, thanks for your great work.

I am reading your code, and I am confused with the following function.

In updateVertices() function, it seems that the number of the updated points is _numtest, but the total points is _num_testsquare.

It seems that all the points should be updated. So I wonder why you use _numtest instead of _num_testsquare in this function.

Looking forward to your response.

RuanJY commented 1 year ago

It should also be num_test_square. Sorry for that.

Actually, num_test is the number of vertices alongside one coordinate, so each time the algorithm wants to go through all vertices inside a cell, the number should be num_test * num_test.

RuanJY commented 12 months ago

This typo has been revised in code.