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 Programme_course_2017_virage_ameliore by
Revision 3:c0aae5aa230b, committed 2017-03-18
- Comitter:
- leandre
- Date:
- Sat Mar 18 13:21:28 2017 +0000
- Parent:
- 2:a37de5eb8bf3
- Commit message:
- virage am?lior? 2
Changed in this revision
Mlib.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a37de5eb8bf3 -r c0aae5aa230b Mlib.cpp --- a/Mlib.cpp Fri Mar 17 14:18:04 2017 +0000 +++ b/Mlib.cpp Sat Mar 18 13:21:28 2017 +0000 @@ -175,7 +175,7 @@ moy_inter=Moyenne2(Interval, TAILLE_TAB_INT); //pc.printf("%d\n",moy_inter); - if((mem_a>6)&&(mem_b>6)){ // si la voiture n'est pas trop sur l'exterieur de la piste + if((mem_a>10)&&(mem_b>10)){ // si la voiture n'est pas trop sur l'exterieur de la piste if(S1 && (moy_inter<70) && (moy_inter>40)){ //si l'espace entre les deux lignes est plus petit que la normale (arret) //for(int i=0;i<5;i++) pc.printf("%d ",Interval[i]);