34#include <frc/util/Color.h>
70 std::optional<frc::Color>
MatchColor(
const frc::Color& colorToMatch);
83 std::optional<frc::Color>
MatchColor(
const frc::Color& colorToMatch,
101 std::vector<frc::Color> m_colorsToMatch;
102 double m_confidenceLevel;
Definition: ColorMatch.h:43
void AddColorMatch(const frc::Color &color)
Definition: ColorMatch.cpp:52
ColorMatch()
Definition: ColorMatch.cpp:50
std::optional< frc::Color > MatchColor(const frc::Color &colorToMatch)
Definition: ColorMatch.cpp:60
void SetConfidenceThreshold(double confidence)
Definition: ColorMatch.cpp:56
frc::Color MatchClosestColor(const frc::Color &colorToMatch, double &confidence)
Definition: ColorMatch.cpp:76
Definition: SparkLowLevel.cpp:40