Revision 1046
| branches/simulator/projects/simulator/simulator/core/motion.c (revision 1046) | ||
|---|---|---|
| 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