ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
RightNormalCourse.h
[詳解]
1
7
#ifndef __RIGHTNORMALCOURSE__
8
#define __RIGHTNORMALCOURSE__
9
10
#include "
NormalCourse.h
"
11
15
enum struct
RightStatus
{
16
STRAIGHT
,
17
CURVE_RIGHT
,
18
CURVE_LEFT
,
19
CURVE_LEFT_SHORT
,
20
STOP
21
};
22
26
class
RightNormalCourse
:
public
NormalCourse
{
27
public
:
29
RightNormalCourse
();
30
35
bool
runNormalCourse () ;
36
43
bool
statusCheck(int32_t countL, int32_t countR);
44
49
int
getStatus();
50
private
:
51
RightStatus
status;
52
RightStatus
old_status;
53
};
54
55
#endif
LeftStatus::CURVE_RIGHT
LeftStatus::CURVE_LEFT_SHORT
NormalCourse.h
NormalCourse
Definition:
NormalCourse.h:7
LeftStatus::STRAIGHT
RightStatus
RightStatus
Definition:
RightNormalCourse.h:15
RightNormalCourse
Definition:
RightNormalCourse.h:26
LeftStatus::STOP
LeftStatus::CURVE_LEFT
構築:
1.8.13