Tools Section Navigation Calibrated slightly
Dependencies: HCSR04 PID PololuQik2 QEI mbed-rtos
Fork of NavigationTest by
Diff: main.cpp
- Revision:
- 6:109f46d3cb96
- Parent:
- 2:0351277ee5dd
- Child:
- 7:0b7897232e93
diff -r 0351277ee5dd -r 109f46d3cb96 main.cpp --- a/main.cpp Wed Mar 19 22:10:43 2014 +0000 +++ b/main.cpp Thu Mar 20 17:21:28 2014 +0000 @@ -62,7 +62,7 @@ pc.baud(115200); bt.baud(115200); motors.begin(); - /* + // Very Consistent Turn leftEncoder.reset(); rightEncoder.reset(); @@ -81,8 +81,9 @@ usValue = range; } } - */ + motors.stopBothMotors(); + while(1){} /* leftEncoder.reset();