Mapping for TP2
Dependencies: ISR_Mini-explorer mbed
Fork of GoToPointWithAngle by
Diff: main.cpp
- Revision:
- 1:f0807d5c5a4b
- Parent:
- 0:8bffb51cc345
- Child:
- 2:ea61e801e81f
diff -r 8bffb51cc345 -r f0807d5c5a4b main.cpp --- a/main.cpp Tue Mar 21 15:24:34 2017 +0000 +++ b/main.cpp Tue Mar 21 15:32:22 2017 +0000 @@ -52,8 +52,8 @@ pc.printf("\n\r X=%f", X); pc.printf("\n\r Y=%f", Y); - leftMotor(1,1*angular_left); - rightMotor(1,1*angular_right); + leftMotor(1,angular_left); + rightMotor(1,angular_right); wait(0.5); } while(d>1);