Hiding puck detection errors from users.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user