strat des robots

Fork of CRAC-Strat_2017 by CRAC Team

Committer:
antbig
Date:
Thu Apr 28 08:11:36 2016 +0000
Revision:
9:d0042422d95a
Parent:
4:88431b537477
Child:
12:14729d584500
ajout message choix id strat

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 1:116040d14164 1 #ifndef CRAC_STRATEGIE_BIG
antbig 1:116040d14164 2 #define CRAC_STRATEGIE_BIG
antbig 0:ad97421fb1fb 3
antbig 0:ad97421fb1fb 4 #include "global.h"
antbig 0:ad97421fb1fb 5
antbig 1:116040d14164 6 /****************************************************************************************/
antbig 1:116040d14164 7 /* FUNCTION NAME: doFunnyAction */
antbig 1:116040d14164 8 /* DESCRIPTION : Permet de faire la funny action en fin de partie */
antbig 1:116040d14164 9 /****************************************************************************************/
antbig 1:116040d14164 10 void doFunnyAction(void);
antbig 1:116040d14164 11
antbig 1:116040d14164 12 /****************************************************************************************/
antbig 1:116040d14164 13 /* FUNCTION NAME: doAction */
antbig 1:116040d14164 14 /* DESCRIPTION : Effectuer une action specifique */
antbig 1:116040d14164 15 /****************************************************************************************/
antbig 1:116040d14164 16 unsigned char doAction(unsigned char id, unsigned short speed, short angle);
antbig 1:116040d14164 17
antbig 1:116040d14164 18 /****************************************************************************************/
antbig 1:116040d14164 19 /* FUNCTION NAME: initRobot */
antbig 1:116040d14164 20 /* DESCRIPTION : initialiser le robot */
antbig 1:116040d14164 21 /****************************************************************************************/
antbig 1:116040d14164 22 void initRobot(void);
antbig 0:ad97421fb1fb 23
antbig 4:88431b537477 24 /****************************************************************************************/
antbig 9:d0042422d95a 25 /* FUNCTION NAME: runTest */
antbig 9:d0042422d95a 26 /* DESCRIPTION : tester l'ensemble des actionneurs du robot */
antbig 9:d0042422d95a 27 /****************************************************************************************/
antbig 9:d0042422d95a 28 void runRobotTest(void);
antbig 9:d0042422d95a 29
antbig 9:d0042422d95a 30 /****************************************************************************************/
antbig 4:88431b537477 31 /* FUNCTION NAME: SelectStrategy */
antbig 4:88431b537477 32 /* DESCRIPTION : Charger le fichier de stratégie correspondante à un id */
antbig 4:88431b537477 33 /* RETURN : 0=> Erreur, 1=> OK si le fichier existe */
antbig 4:88431b537477 34 /****************************************************************************************/
antbig 4:88431b537477 35 int SelectStrategy(unsigned char id);
antbig 4:88431b537477 36
antbig 0:ad97421fb1fb 37 #endif