librairie actions gros robot carte esclave
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019
actions_Gr.h@18:2082875295df, 2019-05-31 (annotated)
- Committer:
- marwanesaich
- Date:
- Fri May 31 05:39:55 2019 +0000
- Revision:
- 18:2082875295df
- Parent:
- 17:5973f13f44e2
- Child:
- 19:2281a0ef54e4
points automatiques, goldenium, debloquage roulette
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 | |
marwanesaich | 18:2082875295df | 25 | |
marwanesaich | 18:2082875295df | 26 | #define VITESSE_RALENTI 25 |
marwanesaich | 18:2082875295df | 27 | #define VITESSE_NORMAL 200 |
marwanesaich | 18:2082875295df | 28 | |
marwanesaich | 18:2082875295df | 29 | #define ACCELERATION_RALENTI 1000 |
marwanesaich | 18:2082875295df | 30 | #define DECELERATION_RALENTI 1000 |
marwanesaich | 18:2082875295df | 31 | |
marwanesaich | 18:2082875295df | 32 | #define ACCELERATION 4000 |
marwanesaich | 18:2082875295df | 33 | #define DECELERATION 3800 |
marwanesaich | 18:2082875295df | 34 | |
marwanesaich | 18:2082875295df | 35 | #define TIMEOUT_ACTION_PRESENTOIR 5000 |
marwanesaich | 18:2082875295df | 36 | |
Artiom | 0:f900f4ea9dfd | 37 | extern char status_pompe; |
marwanesaich | 5:bb533bf81ee6 | 38 | extern char status_contact; |
Artiom | 0:f900f4ea9dfd | 39 | |
marwanesaich | 17:5973f13f44e2 | 40 | extern bool flag_ascenseur,flag_ascenseur_force_on, flag_ascenseur_force_off; |
Artiom | 0:f900f4ea9dfd | 41 | |
Artiom | 0:f900f4ea9dfd | 42 | extern char fpresentoir_avant, fpresentoir_arriere; |
Artiom | 0:f900f4ea9dfd | 43 | extern char fgoldenium_avant, fgoldenium_arriere; |
Artiom | 0:f900f4ea9dfd | 44 | extern char fsol_avant,fsol_arriere; |
Artiom | 0:f900f4ea9dfd | 45 | extern char fsol_avant_relache,fsol_arriere_relache; |
Artiom | 0:f900f4ea9dfd | 46 | extern char fbalance_avant,fbalance_arriere; |
Artiom | 0:f900f4ea9dfd | 47 | extern char favant_relache,farriere_relache; |
Artiom | 0:f900f4ea9dfd | 48 | extern char faccelerateur_avant,faccelerateur_arriere; |
Artiom | 0:f900f4ea9dfd | 49 | |
marwanesaich | 14:bf2810b95f25 | 50 | extern int flag_vide_vert_rouge,flag_vide_bleu; |
marwanesaich | 14:bf2810b95f25 | 51 | |
marwanesaich | 16:06463f24811d | 52 | |
marwanesaich | 16:06463f24811d | 53 | extern int nbPaletsVerts, nbPaletsBleus; |
marwanesaich | 16:06463f24811d | 54 | |
kyxstark | 3:a630a1ccf5f0 | 55 | void gabarit_robot(void); |
Artiom | 0:f900f4ea9dfd | 56 | |
Artiom | 0:f900f4ea9dfd | 57 | void fifo_couleur(void); |
Artiom | 0:f900f4ea9dfd | 58 | void ascenseur(void); |
marwanesaich | 5:bb533bf81ee6 | 59 | void oriente_doigt(int palet); |
marwanesaich | 15:1fefa6b1569b | 60 | void oriente_doigt_suiv(int palet); |
marwanesaich | 7:283d66d5c3b9 | 61 | void convoyeur_gauche_jaune(void); |
marwanesaich | 7:283d66d5c3b9 | 62 | void convoyeur_droit_jaune(void); |
marwanesaich | 8:7bd34e838ca3 | 63 | void convoyeur_gauche_violet(void); |
marwanesaich | 9:05da4300730a | 64 | void convoyeur_droit_violet(void); |
Artiom | 0:f900f4ea9dfd | 65 | |
kyxstark | 1:af508f84a079 | 66 | |
Artiom | 0:f900f4ea9dfd | 67 | void presentoir_avant(void); |
Artiom | 0:f900f4ea9dfd | 68 | void automate_ventouse_presentoir_avant(void); |
Artiom | 0:f900f4ea9dfd | 69 | void automate_ventouse_relache_avant(void); |
Artiom | 0:f900f4ea9dfd | 70 | |
Artiom | 0:f900f4ea9dfd | 71 | void goldenium_avant(void); |
Artiom | 0:f900f4ea9dfd | 72 | void automate_ventouse_goldenium_avant(void); |
Artiom | 0:f900f4ea9dfd | 73 | void accelerateur_avant(void); |
kyxstark | 1:af508f84a079 | 74 | void automate_ventouse_accelerateur_avant(void); |
Artiom | 0:f900f4ea9dfd | 75 | |
Artiom | 0:f900f4ea9dfd | 76 | |
Artiom | 0:f900f4ea9dfd | 77 | #endif |
Artiom | 0:f900f4ea9dfd | 78 | #endif |