Package | Description |
---|---|
cube | |
robot |
Modifier and Type | Field and Description |
---|---|
static Comparator<RawColor> |
RawColor.hueComparator
Comparator by hue value
|
static Comparator<RawColor> |
RawColor.whiteComparator
Comparator by white distance
|
Modifier and Type | Method and Description |
---|---|
private void |
Cube.calcAndSetColors(ArrayList<RawColor> allColors)
Place all scanned colors on the cube, fix red/orange corners
and print result to logger
|
private void |
Cube.setNonWhitesByHue(ArrayList<RawColor> allColors)
Place all non-white colors on the cube according to their
Hue value
|
private void |
Cube.setWhitesByDistance(ArrayList<RawColor> allColors)
Place all white colors on the cube according to their
distance from the calibrated white RGB
|
Modifier and Type | Method and Description |
---|---|
static void |
Robot.scanFace(ArrayList<RawColor> allColors,
Orientation orientation)
Scan cube's face
|