public class CubeScanner
extends java.lang.Object
This class implements methods for scanning all colored elements of the cube and writing them into an RubiksCube object.
EV3-ColorSensor is used to take seven samples per element. Mean value of those seven samples is used to identify element's color.
Raw values and mean value are written to RubiksCube object (raw values are saved for debugging).