Loading src/main/java/Aberration_Calibration.java +11 −8 Original line number Original line Diff line number Diff line Loading @@ -924,6 +924,10 @@ if (MORE_BUTTONS) { } } this.SYNC_COMMAND.isRunning=false; this.SYNC_COMMAND.isRunning=false; this.SYNC_COMMAND.stopRequested.set(0); this.SYNC_COMMAND.stopRequested.set(0); } } public void remoteNotifyComplete(){ String shellCommand="ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"; String shellCommand="ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"; try { try { // Process p = Runtime.getRuntime().exec("shell command"); // Process p = Runtime.getRuntime().exec("shell command"); Loading @@ -931,8 +935,6 @@ if (MORE_BUTTONS) { } catch (IOException e) { } catch (IOException e) { System.out.println("Failed shell command: \""+shellCommand+"\""); System.out.println("Failed shell command: \""+shellCommand+"\""); } } Toolkit.getDefaultToolkit().beep(); } } } public static String stack2string(Exception e) { public static String stack2string(Exception e) { Loading Loading @@ -4160,6 +4162,7 @@ if (MORE_BUTTONS) { double rms= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, false); double rms= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, false); double rms_pure= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, true); double rms_pure= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, true); System.out.println("rms="+rms+", rms_pure="+rms_pure+" - with old parameters may be well off."); System.out.println("rms="+rms+", rms_pure="+rms_pure+" - with old parameters may be well off."); remoteNotifyComplete(); return; return; } } Loading Loading
src/main/java/Aberration_Calibration.java +11 −8 Original line number Original line Diff line number Diff line Loading @@ -924,6 +924,10 @@ if (MORE_BUTTONS) { } } this.SYNC_COMMAND.isRunning=false; this.SYNC_COMMAND.isRunning=false; this.SYNC_COMMAND.stopRequested.set(0); this.SYNC_COMMAND.stopRequested.set(0); } } public void remoteNotifyComplete(){ String shellCommand="ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"; String shellCommand="ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"; try { try { // Process p = Runtime.getRuntime().exec("shell command"); // Process p = Runtime.getRuntime().exec("shell command"); Loading @@ -931,8 +935,6 @@ if (MORE_BUTTONS) { } catch (IOException e) { } catch (IOException e) { System.out.println("Failed shell command: \""+shellCommand+"\""); System.out.println("Failed shell command: \""+shellCommand+"\""); } } Toolkit.getDefaultToolkit().beep(); } } } public static String stack2string(Exception e) { public static String stack2string(Exception e) { Loading Loading @@ -4160,6 +4162,7 @@ if (MORE_BUTTONS) { double rms= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, false); double rms= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, false); double rms_pure= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, true); double rms_pure= FOCUSING_FIELD.calcErrorDiffY(focusing_fx, true); System.out.println("rms="+rms+", rms_pure="+rms_pure+" - with old parameters may be well off."); System.out.println("rms="+rms+", rms_pure="+rms_pure+" - with old parameters may be well off."); remoteNotifyComplete(); return; return; } } Loading