etrobocon2018 feat.KatLab
770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
総合概要
諸情報
名前空間
クラス
ファイル
ファイル一覧
ファイルメンバ
全て
クラス
名前空間
ファイル
関数
変数
列挙型
列挙値
フレンド
マクロ定義
ページ
str
apps
include
EtRobocon2018.h
[詳解]
1
6
#ifndef __ETROBOCON2018__
7
#define __ETROBOCON2018__
8
9
//この下の行のコメントは消すな!
10
//変更してもいけない
11
//#define IS_RIGHT_COURSE
12
13
#include "
Controller.h
"
14
#include "
InitialPositionCodeDecoder.h
"
15
#include "
LeftCourse.h
"
16
#include "
RightCourse.h
"
17
#include "
UserInterface.h
"
18
22
class
EtRobocon2018
{
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
36
InitialPositionCodeDecoder
ipcd;
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
InitialPositionCodeDecoder.h
初期位置コードデコーダークラス
EtRobocon2018::EtRobocon2018
EtRobocon2018()
Definition:
EtRobocon2018.cpp:29
Controller.h
RightCourse.h
Rコースを走らせるときに呼び出されるクラス
EtRobocon2018::loop
void loop()
Definition:
EtRobocon2018.cpp:56
EtRobocon2018::start
void start(int)
Definition:
EtRobocon2018.cpp:35
Controller
Definition:
Controller.h:29
EtRobocon2018::waitStarter
void waitStarter(int)
Definition:
EtRobocon2018.cpp:69
InitialPositionCodeDecoder
Definition:
InitialPositionCodeDecoder.h:29
UserInterface.h
走行体が走り出す前にユーザが入力するインターフェースを提供するクラス
EtRobocon2018
Definition:
EtRobocon2018.h:22
LeftCourse.h
Lコースを走らせるときに呼び出されるクラス
構築:
1.8.6