etrobocon2019 feat.KatLab  ece30a9a007fff7d3ad48592c0d09a74643377bb
NormalCourse.h
[詳解]
1 
6 #ifndef NORMALCOURSE_H
7 #define NORMALCOURSE_H
8 #include <array>
9 #include "LineTracer.h"
10 #include "Controller.h"
11 
12 class NormalCourse {
13  public:
19  NormalCourse(Controller& controller_, bool isLeftCourse_, int targetBrightness_);
20 
25  void setIsLeftCourse(bool isLeftCourse_);
26 
30  void runNormalCourse();
31 
35  bool getIsLeftCourse() const;
36 
40  int getTargetBrightness() const;
41 
42  private:
44  Controller& controller;
46  bool isLeftCourse;
48  int targetBrightness;
49 };
50 
51 #endif
void runNormalCourse()
bool getIsLeftCourse() const
NormalCourse(Controller &controller_, bool isLeftCourse_, int targetBrightness_)
int getTargetBrightness() const
void setIsLeftCourse(bool isLeftCourse_)