Programme carte strategie (disco)
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Diff: Robots/StrategieManager.h
- Revision:
- 1:116040d14164
- Parent:
- 0:ad97421fb1fb
- Child:
- 4:88431b537477
diff -r ad97421fb1fb -r 116040d14164 Robots/StrategieManager.h --- a/Robots/StrategieManager.h Wed Apr 13 22:04:54 2016 +0000 +++ b/Robots/StrategieManager.h Fri Apr 15 10:49:40 2016 +0000 @@ -1,12 +1,24 @@ -#ifndef CRAC_STRATEGIE_MANAGER -#define CRAC_STRATEGIE_MANAGER +#ifndef CRAC_STRATEGIE_BIG +#define CRAC_STRATEGIE_BIG #include "global.h" -#if ROBOT_TYPE == ROBOT_BIG - #include "Strategie_big.h" -#else - #include "Strategie_small.h" -#endif +/****************************************************************************************/ +/* FUNCTION NAME: doFunnyAction */ +/* DESCRIPTION : Permet de faire la funny action en fin de partie */ +/****************************************************************************************/ +void doFunnyAction(void); + +/****************************************************************************************/ +/* FUNCTION NAME: doAction */ +/* DESCRIPTION : Effectuer une action specifique */ +/****************************************************************************************/ +unsigned char doAction(unsigned char id, unsigned short speed, short angle); + +/****************************************************************************************/ +/* FUNCTION NAME: initRobot */ +/* DESCRIPTION : initialiser le robot */ +/****************************************************************************************/ +void initRobot(void); #endif \ No newline at end of file