AtsushiSakai/PythonRobotics

NDT grid_map init

Closed this issue · 1 comments

self.grid_index_map = self._create_grid_index_map(ox, oy)

In your original code, you are calling _create_grid_index_map on lines 56-59 which uses grid_map, but you only create self.grid_map in the next step. This will cause an error.
You should move the initialization on line 62 above line 56 to avoid the error and achieve the intended functionality described in the documentation.

PR is welcome.