Revision bfffb0bd devices/DiWheelDrive/linefollow2.hpp
devices/DiWheelDrive/linefollow2.hpp | ||
---|---|---|
9 | 9 |
enum class LineFollowStrategy{ |
10 | 10 |
EDGE_LEFT, |
11 | 11 |
EDGE_RIGHT, |
12 |
DOCKING, |
|
12 | 13 |
MIDDLE, |
13 | 14 |
FUZZY |
14 | 15 |
}; |
... | ... | |
73 | 74 |
|
74 | 75 |
char whiteFlag = 0; |
75 | 76 |
LineFollowStrategy strategy = LineFollowStrategy::EDGE_RIGHT; |
76 |
float Kp = 0.003;
|
|
77 |
float Kp = 0.002;
|
|
77 | 78 |
float Ki = 0; |
78 | 79 |
float Kd = 0; |
79 | 80 |
int accumHist = 0; |
Also available in: Unified diff