public void readSensors() throws IOException{
		
		try{
			com.requestData(Communication.LATITUDE);
			com.requestData(Communication.LONGITUDE);
			com.requestData(Communication.HEADING);
			com.requestData(Communication.ABSOLUTE_WIND);
			com.requestData(Communication.OBSTACLES);
			com.readMessage();
			
		}catch(NumberFormatException ex){
			System.out.println("\nCannot receive sensor data.");
			System.out.print("Retry in ");
			for(int i = 5; i > 0; i--){
				System.out.print(i +", ");
				try{
					Thread.sleep(1000);
//					readSensors();
				}catch(InterruptedException ex1){
					ex1.printStackTrace();
				}
			}
		}
	}