Hiding puck detection errors from users.

This commit is contained in:
gac-S_Changer
2018-09-17 11:06:44 +02:00
parent f32260086f
commit afb1e4cac2
4 changed files with 38 additions and 16 deletions

View File

@@ -103,6 +103,16 @@ public class Puck extends DeviceBase {
return detection.toString();
}
public static boolean displayDetectionError;
public static void setDisplayDetectionError(boolean value){
displayDetectionError = value;
}
public static boolean getDisplayDetectionError(){
return displayDetectionError;
}
public double getAngle() {
return ANGLES[index];
}