[spatial_rels] added functionality for restricting robot's navigation area + refactored.