Class ColorMatch


  • public class ColorMatch
    extends java.lang.Object
    • Constructor Detail

      • ColorMatch

        public ColorMatch()
    • Method Detail

      • addColorMatch

        public void addColorMatch​(edu.wpi.first.wpilibj.util.Color color)
      • setConfidenceThreshold

        public void setConfidenceThreshold​(double confidence)
      • matchColor

        public ColorMatchResult matchColor​(edu.wpi.first.wpilibj.util.Color colorToMatch)
      • makeColor

        public static edu.wpi.first.wpilibj.util.Color makeColor​(double r,
                                                                 double g,
                                                                 double b)
      • matchClosestColor

        public ColorMatchResult matchClosestColor​(edu.wpi.first.wpilibj.util.Color color)