librairie actions petit robot carte esclave

Dependents:   carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019 ACRAC_carte_esclave_GROS_ROBOT_2019

Committer:
Artiom
Date:
Sat May 25 15:39:49 2019 +0000
Revision:
9:40ac0603f9df
Parent:
4:21ff54400895
Child:
16:77e352ca3035
fonction insertion 3palets accelerateur

Who changed what in which revision?

UserRevisionLine numberNew 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
kyxstark 4:21ff54400895 44 void gabarit_robot(void);
Artiom 0:42544b5e8b9f 45
Artiom 0:42544b5e8b9f 46 void presentoir_avant(void);
kyxstark 4:21ff54400895 47 void balance_avant(void);
Artiom 0:42544b5e8b9f 48 void balance_avant_placement(void);
Artiom 0:42544b5e8b9f 49
Artiom 0:42544b5e8b9f 50 void presentoir_arriere(void);
kyxstark 4:21ff54400895 51 void balance_arriere(void);
Artiom 0:42544b5e8b9f 52 void balance_arriere_placement(void);
Artiom 0:42544b5e8b9f 53
Artiom 0:42544b5e8b9f 54 void accelerateur_avant(void);
Artiom 9:40ac0603f9df 55 void accelerateur_avant_insertion(void);
Artiom 9:40ac0603f9df 56
Artiom 0:42544b5e8b9f 57 void accelerateur_arriere(void);
Artiom 0:42544b5e8b9f 58
Artiom 0:42544b5e8b9f 59 void goldenium_avant(void);
Artiom 0:42544b5e8b9f 60 void goldenium_arriere(void);
Artiom 0:42544b5e8b9f 61
Artiom 0:42544b5e8b9f 62 void sol_avant_baisser(void);
Artiom 0:42544b5e8b9f 63 void sol_arriere_baisser(void);
Artiom 0:42544b5e8b9f 64
Artiom 0:42544b5e8b9f 65 void sol_avant_remonter(void);
Artiom 0:42544b5e8b9f 66 void sol_arriere_remonter(void);
Artiom 0:42544b5e8b9f 67
Artiom 0:42544b5e8b9f 68 void recroqueviller_avant(void);
Artiom 0:42544b5e8b9f 69 void recroqueviller_arriere(void);
Artiom 0:42544b5e8b9f 70
Artiom 0:42544b5e8b9f 71
Artiom 0:42544b5e8b9f 72 void automate_ventouse_presentoir_avant(void);
Artiom 0:42544b5e8b9f 73 void automate_ventouse_presentoir_arriere (void);
Artiom 0:42544b5e8b9f 74
Artiom 0:42544b5e8b9f 75 void automate_ventouse_goldenium_avant (void);
Artiom 0:42544b5e8b9f 76 void automate_ventouse_goldenium_arriere (void);
Artiom 0:42544b5e8b9f 77
Artiom 0:42544b5e8b9f 78 void automate_ventouse_sol_avant (void);
Artiom 0:42544b5e8b9f 79 void automate_ventouse_sol_arriere(void);
Artiom 0:42544b5e8b9f 80
Artiom 0:42544b5e8b9f 81 void automate_ventouse_sol_avant_relache(void);
Artiom 0:42544b5e8b9f 82 void automate_ventouse_sol_arriere_relache(void);
Artiom 0:42544b5e8b9f 83
Artiom 0:42544b5e8b9f 84 void automate_ventouse_balance_avant (void);
Artiom 0:42544b5e8b9f 85 void automate_ventouse_balance_arriere(void);
Artiom 0:42544b5e8b9f 86
Artiom 0:42544b5e8b9f 87 void automate_ventouse_relache_avant(void);
Artiom 0:42544b5e8b9f 88 void automate_ventouse_relache_arriere (void);
Artiom 0:42544b5e8b9f 89
Artiom 0:42544b5e8b9f 90 void automate_ventouse_accelerateur_avant(void);
Artiom 0:42544b5e8b9f 91 void automate_ventouse_accelerateur_arriere(void);
Artiom 0:42544b5e8b9f 92
kyxstark 4:21ff54400895 93 void accelerateur_insertion_avant_gauche(void);
kyxstark 4:21ff54400895 94 void accelerateur_insertion_arriere_gauche(void);
Artiom 0:42544b5e8b9f 95
Artiom 0:42544b5e8b9f 96
Artiom 0:42544b5e8b9f 97
Artiom 0:42544b5e8b9f 98 /*
Artiom 0:42544b5e8b9f 99 #define AV_BAS 0
Artiom 0:42544b5e8b9f 100 #define AV_DROIT 1
Artiom 0:42544b5e8b9f 101 #define AV_CENTRE 2
Artiom 0:42544b5e8b9f 102 #define AV_GAUCHE 3
Artiom 0:42544b5e8b9f 103
Artiom 0:42544b5e8b9f 104 #define AR_BAS 4
Artiom 0:42544b5e8b9f 105 #define AR_DROIT 5
Artiom 0:42544b5e8b9f 106 #define AR_CENTRE 6
Artiom 0:42544b5e8b9f 107 #define AR_GAUCHE 7*/
Artiom 0:42544b5e8b9f 108 #endif
Artiom 0:42544b5e8b9f 109 #endif