ETrobocon2017 - 片山研究所モデルベース開発推進事業部
LineTracerWalker.h
[詳解]
1 #ifndef __LINETRACERWALKER__
2 #define __LINETRACERWALKER__
3 
4 #include "TurnControl.h"
5 #include "SpeedControl.h"
6 
8 public:
10  void runLine(int32_t countL, int32_t countR, int8_t light_value);
11  void setForward(int8_t setValue);
12  void setTurn(int8_t setValue);
13  int8_t getForward();
14  int8_t getTurn();
15  void isLeftsideLine(bool b);
18  int8_t minus;
19 protected:
20  int8_t forward;
21  int8_t turn;
22 };
23 
24 
25 #endif
void isLeftsideLine(bool b)
void setForward(int8_t setValue)
PID制御によるターン制御クラス
void runLine(int32_t countL, int32_t countR, int8_t light_value)
PID制御による速度制御クラス
Definition: SpeedControl.h:18
TurnControl turnControl
PID制御による速度制御クラス
void setTurn(int8_t setValue)
SpeedControl speedControl