Classifier

constructor(sectorOneSensor: NormalizedColorSensor, sectorTwoSensor: NormalizedColorSensor, sectorThreeSensor: NormalizedColorSensor, gate: Servo, classifier: Servo, rgb: RevBlinkinLedDriver)

Parameters

sectorOneSensor

the NormalizedColorSensor used to detect the color of the artifact

sectorTwoSensor

the NormalizedColorSensor used to detect the color of the artifact

sectorThreeSensor

the NormalizedColorSensor used to detect the color of the artifact

gate

the Servo used to open and close the gate that releases artifacts from the classifier

classifier

the Servo used to rotate the classifier to different positions

rgb

the LED driver used to control lights in the Classifier