Revision 1046
small chnage to motion.c, going forward and backwards should now be consistent
motion.c | ||
---|---|---|
36 | 36 |
if (abs(speed2) < CUTOFF) { |
37 | 37 |
speed2 = 0; |
38 | 38 |
} |
39 |
speed1 = (speed1 - CUTOFF); |
|
40 |
speed2 = (speed2 - CUTOFF); |
|
39 |
|
|
41 | 40 |
double radius; |
42 | 41 |
if (speed1 == speed2) { |
43 | 42 |
/* go straight */ |
Also available in: Unified diff