7 #ifndef __DISTINGUISHER_H__
8 #define __DISTINGUISHER_H__
22 explicit Hsv(
Color color_,
double h_,
double s_,
double v_,
double threshold_distance_,
23 double start_h_,
double end_h_)
48 namespace etrobocon2018_test {
49 class DistinguisherTest;
76 void setRawColor2Rgb();
77 void convertRgbToHsv(
Rgb rgb_);
78 void distingishColor();
79 void judgement(
const Hsv& hsv_,
double& min);
80 double distanceColor(
Hsv target_color);
Hsv(Color color_, double h_, double s_, double v_, double threshold_distance_, double start_h_, double end_h_)
double threshold_distance
double threshold_distance
走行体のカラーセンサを用いて、RGB情報より色を推定するクラス。
Distinguisher(Controller &controller_)