Commit 7c971fec authored by Andrey Filippov's avatar Andrey Filippov

bug fix in goniometer control

parent fcf6a510
...@@ -2545,7 +2545,7 @@ public class CalibrationHardwareInterface { ...@@ -2545,7 +2545,7 @@ public class CalibrationHardwareInterface {
public boolean tryInit( public boolean tryInit(
boolean force, boolean force,
boolean updateStatus){ boolean updateStatus){
int delta=4; int delta=2*this.motorTolerance;
if (!force) { if (!force) {
if (motorsInitialized) return true; if (motorsInitialized) return true;
updateMotorsPosition(); updateMotorsPosition();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment