private static void setMapping(){
		obsMapping = new SimpleBindings();	// creates an arrayList to contain the elements
		InputStreamReader isReader= new InputStreamReader(Obstacle.class.getClassLoader().getResourceAsStream(pathAttr));
		try (BufferedReader reader = new BufferedReader(isReader)) {
		    String line = reader.readLine();	// read the first line (containing some description text in csv file)
		    while ((line = reader.readLine()) != null) {	// Reading the file line by line
				String[] split = line.split(";");
				int ID = Integer.parseInt(split[1]);
				boolean cT = (split[2].equals("1"));
				boolean cB = (split[3].equals("1"));
				boolean cS = (split[4].equals("1"));
				boolean v = (split[5].equals("1"));
				int h = Integer.parseInt(split[6]);
				genObstacle tmpGenObs = new genObstacle(ID,cT,cB,cS,v,h);
		    	obsMapping.put(split[0],tmpGenObs);
		    }
		} catch (IOException x) {
		    System.err.format("IOException: %s%n", x);
		}
	}