ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
Emoter.h
[詳解]
1
#ifndef __EMOTER__
2
#define __EMOTER__
3
4
#include "
Motor.h
"
5
#include "
Clock.h
"
6
7
#include "
util.h
"
8
9
using namespace
ev3api
;
10
11
class
Emoter
{
12
public
:
13
Emoter
();
14
void
turn
(int8_t pwm);
15
void
wipe(int8_t pwm,
int
maxChange,
int
angle);
16
void
changeDefault(
int
angle);
17
void
defaultSet(
int
angle);
18
void
init();
19
void
terminate();
20
void
reset();
21
22
private
:
23
Motor
tailHand;
24
Clock
clock;
25
};
26
27
#endif
ev3api
Definition:
Clock.h:12
Clock.h
Motor.h
ev3api::Motor
Definition:
Motor.h:17
util.h
ev3api::Clock
Definition:
Clock.h:16
turn
int turn
Definition:
example_SelfLocalization.cpp:18
Emoter
Definition:
Emoter.h:11
構築:
1.8.13