| 270 | } |
| 271 | |
| 272 | void system::enable_mapping_module() |
| 273 | { |
| 274 | std::lock_guard<std::mutex> lock(mtx_mapping_); |
| 275 | if (!system_is_running_) |
| 276 | { |
| 277 | spdlog::critical("please call system::enable_mapping_module() after system::startup()"); |
| 278 | } |
| 279 | // resume the mapping module |
| 280 | mapper_->resume(); |
| 281 | // inform to the tracking module |
| 282 | tracker_->set_mapping_module_status(true); |
| 283 | } |
| 284 | |
| 285 | void system::disable_mapping_module() |
| 286 | { |
no test coverage detected