/// <summary> /// Determines if the absorption shield is at least 900 and therefore close to maximum /// </summary> /// <returns>true is the absorption shield has a value of 900-999 (999 is max value but 1000+ would break this method if made possible)</returns> protected bool AbsorptionShieldIsHigh() { int left = 20; int right = 31; int top = 25; int bottom = 59; double hundredsPlaceWhite = Vision.FractionalMatchPiece(RGBHSBRangeFactory.White(), left, right, top, bottom); return(Numerical.WithinRange(hundredsPlaceWhite, 0.1476, 0.0005)); //TODO determine good values for range }