fix gmapping compatibility using new "explore_clear_space" parameter
refactored to raii