v2019

Dependencies:   CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Committer:
ClementBreteau
Date:
Fri May 19 17:13:46 2017 +0000
Revision:
16:7321fb3bb396
Parent:
15:c2fc239e85df
Child:
18:cc5fec34ed9c
strat du robot, ann?e 2017, le 19 mai ? 19h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 0:ad97421fb1fb 1 #include "mbed.h"
antbig 0:ad97421fb1fb 2 #include "constantes.h"
antbig 0:ad97421fb1fb 3 #include "ident_crac.h"
antbig 0:ad97421fb1fb 4 #include "Display.h"
ClementBreteau 15:c2fc239e85df 5 #include "AX12.h"
antbig 0:ad97421fb1fb 6 #include "Instruction.h"
antbig 0:ad97421fb1fb 7 #include "debug.h"
antbig 0:ad97421fb1fb 8 #include "Asservissement.h"
antbig 0:ad97421fb1fb 9 #include "StrategieManager.h"
antbig 0:ad97421fb1fb 10 #include "Strategie.h"
ClementBreteau 14:c8fc06c4887f 11 #include "Telemetre.h"
ClementBreteau 16:7321fb3bb396 12 #include "SerialHalfDuplex.h"
ClementBreteau 16:7321fb3bb396 13 #include "peripheriques.h"
antbig 0:ad97421fb1fb 14
antbig 0:ad97421fb1fb 15 extern CAN can1;
antbig 0:ad97421fb1fb 16 extern CANMessage msgRxBuffer[SIZE_FIFO];
antbig 0:ad97421fb1fb 17 extern unsigned char FIFO_ecriture;
antbig 0:ad97421fb1fb 18
antbig 8:0edc7dfb7f7e 19 extern DigitalOut led1,led2,led3,led4;
antbig 0:ad97421fb1fb 20
antbig 0:ad97421fb1fb 21 extern char cheminFileStart[SIZE+8]; //Le chemin du fichier de strat, utiliser strcpy(cheminFileStart,"/local/strat.txt");
antbig 0:ad97421fb1fb 22 extern struct S_Instruction strat_instructions[SIZE_BUFFER_FILE]; //La liste des instruction chargé en mémoire
antbig 0:ad97421fb1fb 23 extern unsigned char nb_instructions; //Le nombre d'instruction dans le fichier de strategie
antbig 0:ad97421fb1fb 24 extern unsigned char actual_instruction;//La ligne de l'instruction en cours d'execution
antbig 0:ad97421fb1fb 25
antbig 1:116040d14164 26 extern unsigned char InversStrat;//Si à 1, indique que l'on part de l'autre cote de la table(inversion des Y)
antbig 1:116040d14164 27
antbig 1:116040d14164 28 extern unsigned short waitingAckID;//L'id du ack attendu
antbig 1:116040d14164 29 extern unsigned short waitingAckFrom;//La provenance du ack attendu
ClementBreteau 15:c2fc239e85df 30 extern char modeTelemetre; // Si à 1, indique que l'on attend une reponse du telemetre