grid_map icon indicating copy to clipboard operation
grid_map copied to clipboard

Segmentation fault on ARM due to oversized Eigen matrix

Open MariusHuber opened this issue 7 years ago • 1 comments

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.

MariusHuber avatar May 25 '17 17:05 MariusHuber

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.

tombrodie avatar Jun 25 '17 22:06 tombrodie