Package frclib.dataprocessor
Class FrcColor
java.lang.Object
trclib.dataprocessor.TrcColor
frclib.dataprocessor.FrcColor
This class implements an FRC specific color object. It extends TrcColor so it can be used by the rest of trclib.
It also includes an embedded WPILib Color object so it can be used by WPILib as well.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FrcColor
final edu.wpi.first.wpilibj.util.Color
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
static final FrcColor
-
Constructor Summary
ConstructorsConstructorDescriptionFrcColor
(int red, int green, int blue) Constructor: Create an instance of the object. -
Method Summary
-
Field Details
-
BLACK
-
FULL_RED
-
FULL_GREEN
-
FULL_BLUE
-
FULL_YELLOW
-
FULL_CYAN
-
FULL_MAGENTA
-
FULL_WHITE
-
HALF_RED
-
HALF_GREEN
-
HALF_BLUE
-
HALF_YELLOW
-
HALF_CYAN
-
HALF_MAGENTA
-
HALF_WHITE
-
QUARTER_RED
-
QUARTER_GREEN
-
QUARTER_BLUE
-
QUARTER_YELLOW
-
QUARTER_CYAN
-
QUARTER_MAGENTA
-
QUARTER_WHITE
-
color
public final edu.wpi.first.wpilibj.util.Color color
-
-
Constructor Details
-
FrcColor
public FrcColor(int red, int green, int blue) Constructor: Create an instance of the object.- Parameters:
red
- specifies the red value (0-255).green
- specifies the green value (0-255).blue
- specifies the blue value (0-255).
-