etrobocon2019 feat.KatLab
ece30a9a007fff7d3ad48592c0d09a74643377bb
src
module
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
LineTracer.h
NormalCourse::runNormalCourse
void runNormalCourse()
Definition:
NormalCourse.cpp:31
Controller.h
NormalCourse::getIsLeftCourse
bool getIsLeftCourse() const
Definition:
NormalCourse.cpp:61
Controller
Definition:
Controller.h:36
NormalCourse::NormalCourse
NormalCourse(Controller &controller_, bool isLeftCourse_, int targetBrightness_)
Definition:
NormalCourse.cpp:13
NormalCourse
Definition:
NormalCourse.h:12
NormalCourse::getTargetBrightness
int getTargetBrightness() const
Definition:
NormalCourse.cpp:69
NormalCourse::setIsLeftCourse
void setIsLeftCourse(bool isLeftCourse_)
Definition:
NormalCourse.cpp:22
構築:
1.8.13