grid_map icon indicating copy to clipboard operation
grid_map copied to clipboard

rviz display crash when layer is not available

Open bmagyar opened this issue 6 years ago • 0 comments

GridMap throws exceptions when lookup of things fail but these are not caught in the rviz display which in return crashes rviz altogether.

terminate called after throwing an instance of 'std::out_of_range'
  what():  GridMap::at(...) : No map layer 'elevation' available.

To reproduce:

  • add new display
  • set "Height Layer" to something invalid
  • change "Height Transformer" to "Flat"
  • start publishing gridmaps

bmagyar avatar Jan 31 '18 14:01 bmagyar