ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
NormalCourse.h
[詳解]
1
#ifndef __NORMALCOURSE__
2
#define __NORMALCOURSE__
3
4
#include "
LineTracerWalker.h
"
5
#include "
Distance.h
"
6
7
class
NormalCourse
{
8
public
:
9
void
stop
();
10
LineTracerWalker
lineTracerWalker
;
11
12
protected
:
13
Distance
distance
;
14
int8_t
forward
;
15
int8_t
turn
;
16
int32_t
distanse_total
;
17
};
18
19
#endif
NormalCourse::distance
Distance distance
Definition:
NormalCourse.h:13
NormalCourse::stop
void stop()
Definition:
NormalCourse.cpp:3
NormalCourse::turn
int8_t turn
Definition:
NormalCourse.h:15
NormalCourse::forward
int8_t forward
Definition:
NormalCourse.h:14
Distance.h
タイヤの進んだ距離(回転角)に関するクラス
NormalCourse::lineTracerWalker
LineTracerWalker lineTracerWalker
Definition:
NormalCourse.h:10
Distance
Definition:
Distance.h:14
NormalCourse
Definition:
NormalCourse.h:7
NormalCourse::distanse_total
int32_t distanse_total
Definition:
NormalCourse.h:16
LineTracerWalker.h
LineTracerWalker
Definition:
LineTracerWalker.h:7
構築:
1.8.13