Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of 2015robot_main by
Diff: autoMode.h
- Revision:
- 103:ffd3ca4a7a71
- Parent:
- 101:b67d33e56b66
- Child:
- 105:0be5d5d64782
diff -r b67d33e56b66 -r ffd3ca4a7a71 autoMode.h --- a/autoMode.h Sat Oct 17 06:04:49 2015 +0000 +++ b/autoMode.h Sun Oct 18 00:17:31 2015 +0000 @@ -39,9 +39,9 @@ spcount=0.0; // targ_velocity=speed; // sendData(7,70); - sendData(5,68); //right + sendData(5,69); //right wait(0.05); - sendData(4,68); //left + sendData(4,69); //left wait(0.05); stateR = 69; stateL = 69; @@ -58,7 +58,7 @@ spcount=0.0; // targ_velocity=speed; // sendData(7,59); - sendData(5,58); //right + sendData(5,60); //right wait(0.05); sendData(4,61); //left wait(0.05); @@ -75,18 +75,16 @@ resetState(); // targ_velocity = speed; // sendData(7,70); - sendData(5,72); //right + sendData(5,71); //right wait(0.05); - sendData(4,72); //left - /*sendData(5,75); //right - wait(0.05); - sendData(4,75); //left*/ + sendData(4,71); //left +// sendData(4,72); //left wait(0.05); stateR = 70; stateL = 70; step=114; CStep=114; - OpStart.attach(&OpponentsStart,3.0); + OpStart.attach(&OpponentsStart,2.0); // spcount=0.0; // step = 15; // CStep = 15;