NDT grid_map init
Closed this issue · 1 comments
xiao-ge4 commented
PythonRobotics/Mapping/ndt_map/ndt_map.py
Line 56 in 1656cab
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.
AtsushiSakai commented
PR is welcome.