public ROPacketTransmitter(ROJoystickHandler assignedJoystickHandler) {
        try {
            ipAddr = InetAddress.getByName("10.0.0.22");
        } catch (Exception e) {
            System.out.println(e.toString());
        }
        joystickHandler = assignedJoystickHandler;

        try {
            serverSocket = new DatagramSocket(port);
            serverSocket.setSoTimeout(20);
        } catch (Exception e) {
            active = false;
            System.out.println(e.toString());
        }

        start();
    }