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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 40:c89872c80e75
- Parent:
- 39:82c1de84bf40
- Child:
- 41:ee856eef5f6d
--- a/main.cpp Sat Jun 08 07:17:01 2019 +0000 +++ b/main.cpp Sat Jun 08 09:11:13 2019 +0000 @@ -107,7 +107,7 @@ case RAS: if(etat_deplacement != TURN_FAST_GO) etat_deplacement = TURN_FAST; - if( droit[1] > (droit[0] + distMurBalle) && droit[0] <= 150) + if( droit[1] > (droit[0] + distMurBalle) && droit[0] <= 300) { T_suspi.start(); etat = SUSPICION; @@ -231,7 +231,7 @@ break; case 1: - if(robot.GoToXYT(2000,2000,0)) + if(robot.GoToXYT(2000,2000,450)) { forceRAS = false; etat = 0;