Software for a robot which explores unstructured environments by generating a 2D map.