librairie actions gros robot carte esclave
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019
actions_Gr.h@16:06463f24811d, 2019-05-28 (annotated)
- Committer:
- marwanesaich
- Date:
- Tue May 28 18:02:59 2019 +0000
- Revision:
- 16:06463f24811d
- Parent:
- 15:1fefa6b1569b
- Child:
- 17:5973f13f44e2
convoyeurs bon, vide bleu et vert/rouge
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Artiom | 0:f900f4ea9dfd | 1 | #ifndef ACTIONS_GR_H |
Artiom | 0:f900f4ea9dfd | 2 | #define ACTIONS_GR_H |
Artiom | 0:f900f4ea9dfd | 3 | |
Artiom | 0:f900f4ea9dfd | 4 | #include "main.h" |
Artiom | 0:f900f4ea9dfd | 5 | |
Artiom | 0:f900f4ea9dfd | 6 | |
Artiom | 0:f900f4ea9dfd | 7 | #ifdef ROBOT_BIG |
Artiom | 0:f900f4ea9dfd | 8 | //-----------------------servo gros robot-------------------------------------- |
Artiom | 0:f900f4ea9dfd | 9 | //serial 1 |
Artiom | 0:f900f4ea9dfd | 10 | #define roue_G 4 |
Artiom | 0:f900f4ea9dfd | 11 | #define stockage_G 3 |
Artiom | 0:f900f4ea9dfd | 12 | //serial 2 |
Artiom | 0:f900f4ea9dfd | 13 | #define doigt 2 |
Artiom | 0:f900f4ea9dfd | 14 | #define AV_EP_C 10 |
Artiom | 0:f900f4ea9dfd | 15 | #define AV_poigne_C 11 |
Artiom | 0:f900f4ea9dfd | 16 | //serial 3 |
Artiom | 0:f900f4ea9dfd | 17 | #define stockage_D 1 |
Artiom | 0:f900f4ea9dfd | 18 | #define roue_D 5 |
Artiom | 0:f900f4ea9dfd | 19 | |
Artiom | 0:f900f4ea9dfd | 20 | |
Artiom | 0:f900f4ea9dfd | 21 | #define SIZE_FIFO 50 |
Artiom | 0:f900f4ea9dfd | 22 | |
marwanesaich | 15:1fefa6b1569b | 23 | #define VIT_ROUE 1.0 |
marwanesaich | 15:1fefa6b1569b | 24 | |
Artiom | 0:f900f4ea9dfd | 25 | extern char status_pompe; |
marwanesaich | 5:bb533bf81ee6 | 26 | extern char status_contact; |
Artiom | 0:f900f4ea9dfd | 27 | |
marwanesaich | 15:1fefa6b1569b | 28 | extern bool flag_ascenseur,flag_ascenseur_commande; |
Artiom | 0:f900f4ea9dfd | 29 | |
Artiom | 0:f900f4ea9dfd | 30 | extern char fpresentoir_avant, fpresentoir_arriere; |
Artiom | 0:f900f4ea9dfd | 31 | extern char fgoldenium_avant, fgoldenium_arriere; |
Artiom | 0:f900f4ea9dfd | 32 | extern char fsol_avant,fsol_arriere; |
Artiom | 0:f900f4ea9dfd | 33 | extern char fsol_avant_relache,fsol_arriere_relache; |
Artiom | 0:f900f4ea9dfd | 34 | extern char fbalance_avant,fbalance_arriere; |
Artiom | 0:f900f4ea9dfd | 35 | extern char favant_relache,farriere_relache; |
Artiom | 0:f900f4ea9dfd | 36 | extern char faccelerateur_avant,faccelerateur_arriere; |
Artiom | 0:f900f4ea9dfd | 37 | |
marwanesaich | 14:bf2810b95f25 | 38 | extern int flag_vide_vert_rouge,flag_vide_bleu; |
marwanesaich | 14:bf2810b95f25 | 39 | |
marwanesaich | 16:06463f24811d | 40 | |
marwanesaich | 16:06463f24811d | 41 | extern int nbPaletsVerts, nbPaletsBleus; |
marwanesaich | 16:06463f24811d | 42 | |
kyxstark | 3:a630a1ccf5f0 | 43 | void gabarit_robot(void); |
Artiom | 0:f900f4ea9dfd | 44 | |
Artiom | 0:f900f4ea9dfd | 45 | void fifo_couleur(void); |
Artiom | 0:f900f4ea9dfd | 46 | void ascenseur(void); |
marwanesaich | 5:bb533bf81ee6 | 47 | void oriente_doigt(int palet); |
marwanesaich | 15:1fefa6b1569b | 48 | void oriente_doigt_suiv(int palet); |
marwanesaich | 7:283d66d5c3b9 | 49 | void convoyeur_gauche_jaune(void); |
marwanesaich | 7:283d66d5c3b9 | 50 | void convoyeur_droit_jaune(void); |
marwanesaich | 8:7bd34e838ca3 | 51 | void convoyeur_gauche_violet(void); |
marwanesaich | 9:05da4300730a | 52 | void convoyeur_droit_violet(void); |
Artiom | 0:f900f4ea9dfd | 53 | |
kyxstark | 1:af508f84a079 | 54 | |
Artiom | 0:f900f4ea9dfd | 55 | void presentoir_avant(void); |
Artiom | 0:f900f4ea9dfd | 56 | void automate_ventouse_presentoir_avant(void); |
Artiom | 0:f900f4ea9dfd | 57 | void automate_ventouse_relache_avant(void); |
Artiom | 0:f900f4ea9dfd | 58 | |
Artiom | 0:f900f4ea9dfd | 59 | void goldenium_avant(void); |
Artiom | 0:f900f4ea9dfd | 60 | void automate_ventouse_goldenium_avant(void); |
Artiom | 0:f900f4ea9dfd | 61 | void accelerateur_avant(void); |
kyxstark | 1:af508f84a079 | 62 | void automate_ventouse_accelerateur_avant(void); |
Artiom | 0:f900f4ea9dfd | 63 | |
Artiom | 0:f900f4ea9dfd | 64 | |
Artiom | 0:f900f4ea9dfd | 65 | #endif |
Artiom | 0:f900f4ea9dfd | 66 | #endif |