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 CRAC-Strat_2017_homologation_petit_rob by
Diff: Robots/Strategie_big.cpp
- Revision:
- 11:ed13a480ddca
- Parent:
- 9:d0042422d95a
- Child:
- 12:14729d584500
--- a/Robots/Strategie_big.cpp Fri Apr 29 09:14:27 2016 +0000 +++ b/Robots/Strategie_big.cpp Mon May 02 19:40:59 2016 +0000 @@ -75,7 +75,7 @@ AX12_register(13, AX12_SERIAL2); AX12_register(1, AX12_SERIAL2); - runRobotTest(); + //runRobotTest(); } /****************************************************************************************/ @@ -108,10 +108,18 @@ switch(id) { case 1: - - break; + strcpy(cheminFileStart,"/local/strat1.txt"); + return FileExists(cheminFileStart); + case 2: + strcpy(cheminFileStart,"/local/strat2.txt"); + return FileExists(cheminFileStart); + case 3: + strcpy(cheminFileStart,"/local/strat3.txt"); + return FileExists(cheminFileStart); + default: + strcpy(cheminFileStart,"/local/strat.txt"); + return 0; } - return 0; } #endif