grid_map
grid_map copied to clipboard
Segmentation fault on ARM due to oversized Eigen matrix
Elevation mapping throws std::bad_alloc()
as soon as the map is supposed to be moved. Adding point clouds to a map fixed in position works.
The underlying problem is probably in grid_maps
, namely in EllipseIterator.cpp:32.
See https://github.com/ethz-asl/elevation_mapping/issues/42 for details.
I have managed to solve this problem by going through the grid_map_core package and initialising any variable of type Index (I also did it for uninitialised variables of type Position just in case), for example:
Index submapStartIndex; submapStartIndex.setZero();
This exists in files outside the EllipseIterator.cpp although I could not say if other uninitialised declarations were the cuplrit.