librairie actions petit robot carte esclave
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019 ACRAC_carte_esclave_GROS_ROBOT_2019
actions_Pr.h@0:42544b5e8b9f, 2019-05-23 (annotated)
- Committer:
- Artiom
- Date:
- Thu May 23 10:47:02 2019 +0000
- Revision:
- 0:42544b5e8b9f
- Child:
- 2:e667255cd5b0
librairie actions petit robot carte esclave
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Artiom | 0:42544b5e8b9f | 1 | #ifndef ACTIONS_PR_H |
Artiom | 0:42544b5e8b9f | 2 | #define ACTIONS_PR_H |
Artiom | 0:42544b5e8b9f | 3 | #include "main.h" |
Artiom | 0:42544b5e8b9f | 4 | |
Artiom | 0:42544b5e8b9f | 5 | |
Artiom | 0:42544b5e8b9f | 6 | #ifdef ROBOT_SMALL |
Artiom | 0:42544b5e8b9f | 7 | //-----------------------servo petit robot-------------------------------------- |
Artiom | 0:42544b5e8b9f | 8 | //avant |
Artiom | 0:42544b5e8b9f | 9 | |
Artiom | 0:42544b5e8b9f | 10 | #define AV_EP_D 11 |
Artiom | 0:42544b5e8b9f | 11 | #define AV_poigne_D 13 |
Artiom | 0:42544b5e8b9f | 12 | |
Artiom | 0:42544b5e8b9f | 13 | #define AV_EP_C 15 |
Artiom | 0:42544b5e8b9f | 14 | #define AV_poigne_C 16 |
Artiom | 0:42544b5e8b9f | 15 | |
Artiom | 0:42544b5e8b9f | 16 | #define AV_EP_G 12 |
Artiom | 0:42544b5e8b9f | 17 | #define AV_poigne_G 14 |
Artiom | 0:42544b5e8b9f | 18 | #define AV_sol 20 |
Artiom | 0:42544b5e8b9f | 19 | |
Artiom | 0:42544b5e8b9f | 20 | //arriere |
Artiom | 0:42544b5e8b9f | 21 | |
Artiom | 0:42544b5e8b9f | 22 | #define AR_EP_D 21 |
Artiom | 0:42544b5e8b9f | 23 | #define AR_poigne_D 23 |
Artiom | 0:42544b5e8b9f | 24 | |
Artiom | 0:42544b5e8b9f | 25 | #define AR_EP_C 25 |
Artiom | 0:42544b5e8b9f | 26 | #define AR_poigne_C 26 |
Artiom | 0:42544b5e8b9f | 27 | |
Artiom | 0:42544b5e8b9f | 28 | #define AR_EP_G 22 |
Artiom | 0:42544b5e8b9f | 29 | #define AR_poigne_G 24 |
Artiom | 0:42544b5e8b9f | 30 | |
Artiom | 0:42544b5e8b9f | 31 | #define AR_sol 10 |
Artiom | 0:42544b5e8b9f | 32 | |
Artiom | 0:42544b5e8b9f | 33 | |
Artiom | 0:42544b5e8b9f | 34 | extern char status_pompe; |
Artiom | 0:42544b5e8b9f | 35 | |
Artiom | 0:42544b5e8b9f | 36 | extern char fpresentoir_avant, fpresentoir_arriere; |
Artiom | 0:42544b5e8b9f | 37 | extern char fgoldenium_avant, fgoldenium_arriere; |
Artiom | 0:42544b5e8b9f | 38 | extern char fsol_avant,fsol_arriere; |
Artiom | 0:42544b5e8b9f | 39 | extern char fsol_avant_relache,fsol_arriere_relache; |
Artiom | 0:42544b5e8b9f | 40 | extern char fbalance_avant,fbalance_arriere; |
Artiom | 0:42544b5e8b9f | 41 | extern char favant_relache,farriere_relache; |
Artiom | 0:42544b5e8b9f | 42 | extern char faccelerateur_avant,faccelerateur_arriere; |
Artiom | 0:42544b5e8b9f | 43 | |
Artiom | 0:42544b5e8b9f | 44 | void gabarit_petit_robot(void); |
Artiom | 0:42544b5e8b9f | 45 | |
Artiom | 0:42544b5e8b9f | 46 | void presentoir_avant(void); |
Artiom | 0:42544b5e8b9f | 47 | void balance_avant(char cote); |
Artiom | 0:42544b5e8b9f | 48 | void balance_avant_placement(void); |
Artiom | 0:42544b5e8b9f | 49 | |
Artiom | 0:42544b5e8b9f | 50 | void presentoir_arriere(void); |
Artiom | 0:42544b5e8b9f | 51 | void balance_arriere(char cote); |
Artiom | 0:42544b5e8b9f | 52 | void balance_arriere_placement(void); |
Artiom | 0:42544b5e8b9f | 53 | |
Artiom | 0:42544b5e8b9f | 54 | void accelerateur_avant(void); |
Artiom | 0:42544b5e8b9f | 55 | void accelerateur_arriere(void); |
Artiom | 0:42544b5e8b9f | 56 | |
Artiom | 0:42544b5e8b9f | 57 | void goldenium_avant(void); |
Artiom | 0:42544b5e8b9f | 58 | void goldenium_arriere(void); |
Artiom | 0:42544b5e8b9f | 59 | |
Artiom | 0:42544b5e8b9f | 60 | void sol_avant_baisser(void); |
Artiom | 0:42544b5e8b9f | 61 | void sol_arriere_baisser(void); |
Artiom | 0:42544b5e8b9f | 62 | |
Artiom | 0:42544b5e8b9f | 63 | void sol_avant_remonter(void); |
Artiom | 0:42544b5e8b9f | 64 | void sol_arriere_remonter(void); |
Artiom | 0:42544b5e8b9f | 65 | |
Artiom | 0:42544b5e8b9f | 66 | void recroqueviller_avant(void); |
Artiom | 0:42544b5e8b9f | 67 | void recroqueviller_arriere(void); |
Artiom | 0:42544b5e8b9f | 68 | |
Artiom | 0:42544b5e8b9f | 69 | |
Artiom | 0:42544b5e8b9f | 70 | void automate_ventouse_presentoir_avant(void); |
Artiom | 0:42544b5e8b9f | 71 | void automate_ventouse_presentoir_arriere (void); |
Artiom | 0:42544b5e8b9f | 72 | |
Artiom | 0:42544b5e8b9f | 73 | void automate_ventouse_goldenium_avant (void); |
Artiom | 0:42544b5e8b9f | 74 | void automate_ventouse_goldenium_arriere (void); |
Artiom | 0:42544b5e8b9f | 75 | |
Artiom | 0:42544b5e8b9f | 76 | void automate_ventouse_sol_avant (void); |
Artiom | 0:42544b5e8b9f | 77 | void automate_ventouse_sol_arriere(void); |
Artiom | 0:42544b5e8b9f | 78 | |
Artiom | 0:42544b5e8b9f | 79 | void automate_ventouse_sol_avant_relache(void); |
Artiom | 0:42544b5e8b9f | 80 | void automate_ventouse_sol_arriere_relache(void); |
Artiom | 0:42544b5e8b9f | 81 | |
Artiom | 0:42544b5e8b9f | 82 | void automate_ventouse_balance_avant (void); |
Artiom | 0:42544b5e8b9f | 83 | void automate_ventouse_balance_arriere(void); |
Artiom | 0:42544b5e8b9f | 84 | |
Artiom | 0:42544b5e8b9f | 85 | void automate_ventouse_relache_avant(void); |
Artiom | 0:42544b5e8b9f | 86 | void automate_ventouse_relache_arriere (void); |
Artiom | 0:42544b5e8b9f | 87 | |
Artiom | 0:42544b5e8b9f | 88 | void automate_ventouse_accelerateur_avant(void); |
Artiom | 0:42544b5e8b9f | 89 | void automate_ventouse_accelerateur_arriere(void); |
Artiom | 0:42544b5e8b9f | 90 | |
Artiom | 0:42544b5e8b9f | 91 | void accelerateur_insertion_avant_gauche(void); |
Artiom | 0:42544b5e8b9f | 92 | void accelerateur_insertion_arriere_gauche(void); |
Artiom | 0:42544b5e8b9f | 93 | |
Artiom | 0:42544b5e8b9f | 94 | |
Artiom | 0:42544b5e8b9f | 95 | |
Artiom | 0:42544b5e8b9f | 96 | /* |
Artiom | 0:42544b5e8b9f | 97 | #define AV_BAS 0 |
Artiom | 0:42544b5e8b9f | 98 | #define AV_DROIT 1 |
Artiom | 0:42544b5e8b9f | 99 | #define AV_CENTRE 2 |
Artiom | 0:42544b5e8b9f | 100 | #define AV_GAUCHE 3 |
Artiom | 0:42544b5e8b9f | 101 | |
Artiom | 0:42544b5e8b9f | 102 | #define AR_BAS 4 |
Artiom | 0:42544b5e8b9f | 103 | #define AR_DROIT 5 |
Artiom | 0:42544b5e8b9f | 104 | #define AR_CENTRE 6 |
Artiom | 0:42544b5e8b9f | 105 | #define AR_GAUCHE 7*/ |
Artiom | 0:42544b5e8b9f | 106 | #endif |
Artiom | 0:42544b5e8b9f | 107 | #endif |