/** Get the average horizontal position reading from the last turn * */ public double getXAvg() { double xavg = 0.0; try { xavg = bpmNode.getXAvg(); } catch (ConnectionException e) { System.out.println("Could not connect with:" + bpmNode.getId()); } catch (GetException e) { System.out.println("Could not get value for:" + bpmNode.getId()); } return xavg; }