carte esclave Petit Robot

Dependencies:   mbed Herkulex_Library_2019 actions_Gr ident_crac actions_Pr

main.h

Committer:
Artiom
Date:
2019-05-31
Revision:
46:85208ab1fa12
Parent:
45:3cb347342a0d

File content as of revision 46:85208ab1fa12:

#ifndef MAIN_H
#define MAIN_H
#include "mbed.h"


//------------------------------------sellection Robot---------------------
//#define ROBOT_BIG //Si commenté Petit Robot,  si Décommenter Gros Robot
#ifndef ROBOT_BIG       //  !!!!!!!! ne pas commenter
    #define ROBOT_SMALL //  !!!!!!!! ne pas commenter
#endif                  //  !!!!!!!! ne pas commenter
 
//-------------------------------------------------------------------------


#include "Asservissement.h"
#include "ident_crac.h"
#include "Capteur.h"
//#include "Actionneurs.h"
#include "fonctions_herkulex.h"
#include "herkulex_rob.h"
#include "dt.h"


#ifdef ROBOT_BIG
#include "actions_Gr.h"
#endif
#ifdef ROBOT_SMALL
#include "actions_Pr.h"
#endif


extern CAN can;
extern char cote;
extern Serial pc;

extern unsigned short distance_recalage,distance_revenir;
extern unsigned short x,y;

extern signed short x_robot,y_robot,theta_robot;
extern unsigned char EtatGameEnd;
#endif