// periodically runs and stores the joystick input vectors public synchronized void run() { coordinates.add(calculateCoordinate()); }