etrobocon2018 feat.KatLab  770af34cce41ae9c30c41303275e1add2daae0c3 (with uncommitted changes)
 全て クラス 名前空間 ファイル 関数 変数 列挙型 列挙値 フレンド マクロ定義 ページ
LineTracerWalker.h
[詳解]
1 #ifndef __LINETRACERWALKER__
2 #define __LINETRACERWALKER__
3 
4 #include "SpeedControl.h"
5 #include "TurnControl.h"
6 
22  public:
24  void runLine(int32_t countL, int32_t countR, int16_t light_value);
25  void setForward(int8_t setValue);
26  void setTurn(int8_t setValue);
27  int8_t getForward();
28  int8_t getTurn();
29  void isLeftsideLine(bool b);
32  int8_t minus;
33 
34  protected:
35  int8_t forward;
36  int8_t turn;
37 };
38 
39 #endif
void isLeftsideLine(bool b)
void setForward(int8_t setValue)
void runLine(int32_t countL, int32_t countR, int16_t light_value)
PID制御によるターン制御クラス
PID制御による速度制御クラス
Definition: SpeedControl.h:18
TurnControl turnControl
PID制御による速度制御クラス
void setTurn(int8_t setValue)
SpeedControl speedControl