etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
TurnControl.h
[詳解]
1 
6 #ifndef __TURNCONTROL__
7 #define __TURNCONTROL__
8 
9 #include "LPF.h"
10 #include "Pid.h"
11 #include <cstdint>
12 
16 class TurnControl : public Pid {
17  public:
19  TurnControl();
22  std::int8_t calculateTurnForPid(std::int8_t forward, std::int16_t light_value);
23 
24  private:
25  double turn;
26  double pid_value_old;
27  LPF filter;
28 };
29 
30 #endif
std::int8_t calculateTurnForPid(std::int8_t forward, std::int16_t light_value)
Definition: TurnControl.cpp:11
PID制御の計算を行うクラス
LPF(Low-Pass Filter)をまとめたクラス
Definition: LPF.h:14
PID制御の計算を行うクラス
Definition: Pid.h:38
LPF(Low-Pass Filter)をまとめたクラス