etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
EtRobocon2018.h
[詳解]
1 
6 #ifndef __ETROBOCON2018__
7 #define __ETROBOCON2018__
8 
9 //この下の行のコメントは消すな!
10 //変更してもいけない
11 //#define IS_RIGHT_COURSE
12 
13 #include "Controller.h"
15 #include "LeftCourse.h"
16 #include "RightCourse.h"
17 #include "UserInterface.h"
18 
23  public:
25  EtRobocon2018();
27  void start(int);
29  void waitStarter(int);
31  void loop();
32 
33  private:
34  Controller controller;
35 #ifdef IS_RIGHT_COURSE
37 #endif
38  int16_t light_white;
39  int16_t light_black;
40  int16_t light_gray;
41  int16_t target_brightness;
42  int32_t firstCode;
43 };
44 
45 #endif
初期位置コードデコーダークラス
Rコースを走らせるときに呼び出されるクラス
void start(int)
void waitStarter(int)
走行体が走り出す前にユーザが入力するインターフェースを提供するクラス
Lコースを走らせるときに呼び出されるクラス