strat des robots

Fork of CRAC-Strat_2017 by CRAC Team

Robots/Strategie_small.cpp

Committer:
antbig
Date:
2016-04-13
Revision:
0:ad97421fb1fb

File content as of revision 0:ad97421fb1fb:

#include "Strategie_small.h"


/****************************************************************************************/
/* FUNCTION NAME: doAction                                                              */
/* DESCRIPTION  : Effectuer une action specifique                                       */
/****************************************************************************************/
unsigned char doAction(unsigned char id, unsigned short speed, short angle) {
    
    switch(id) {
        case 20:
            
        break;
        default:
            return 0;//L'action n'existe pas, il faut utiliser le CAN
        
    }
    return 1;//L'action est spécifique.
    
}

/****************************************************************************************/
/* FUNCTION NAME: initRobot                                                             */
/* DESCRIPTION  : initialiser le robot                                                  */
/****************************************************************************************/
void initRobot(void) {
    
}