ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
TurnControl.h
[詳解]
1
6
#ifndef __TURNCONTROL__
7
#define __TURNCONTROL__
8
9
#include "
Pid.h
"
10
#include <cstdint>
11
15
class
TurnControl
:
public
Pid
{
16
public
:
18
TurnControl
();
21
std::int8_t
calculateTurnForPid
( std::int8_t forward, std::int8_t light_value );
22
private
:
23
double
turn;
24
double
pid_value_old;
25
};
26
27
#endif
TurnControl::TurnControl
TurnControl()
Definition:
TurnControl.cpp:9
TurnControl::calculateTurnForPid
std::int8_t calculateTurnForPid(std::int8_t forward, std::int8_t light_value)
Definition:
TurnControl.cpp:14
Pid.h
PID制御の計算を行うクラス
TurnControl
Definition:
TurnControl.h:15
Pid
PID制御の計算を行うクラス
Definition:
Pid.h:12
構築:
1.8.13