diff --git a/src/grid/MLSMap.hpp b/src/grid/MLSMap.hpp index ef15d33..d5122f9 100644 --- a/src/grid/MLSMap.hpp +++ b/src/grid/MLSMap.hpp @@ -70,7 +70,8 @@ namespace maps { namespace grid : Base(num_cells, resolution) , config(config_) { - // TODO assert that config is compatible to SurfaceType ... + LOG_FATAL_S << "Internal Error: Update model in MLS Config is not same as the MLSMap SurfaceType"; + throw std::runtime_error("Internal Error: Update model in MLS Config is not same as the MLSMap SurfaceType"); } MLSMap()