librairie actions petit robot carte esclave
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019 ACRAC_carte_esclave_GROS_ROBOT_2019
Diff: actions_Pr.h
- Revision:
- 22:4a005be0883b
- Parent:
- 19:f42a70ebc580
- Child:
- 23:b38045fe95f9
--- a/actions_Pr.h Fri May 31 23:31:13 2019 +0000 +++ b/actions_Pr.h Thu Mar 12 06:33:19 2020 +0000 @@ -2,49 +2,6 @@ #define ACTIONS_PR_H #include "main.h" - -#ifdef ROBOT_SMALL -//-----------------------servo petit robot-------------------------------------- -//avant - -#define AV_EP_D 11 -#define AV_poigne_D 13 - -#define AV_EP_C 15 -#define AV_poigne_C 16 - -#define AV_EP_G 12 -#define AV_poigne_G 14 -#define AV_sol 20 - -//arriere - -#define AR_EP_D 21 -#define AR_poigne_D 23 - -#define AR_EP_C 25 -#define AR_poigne_C 26 - -#define AR_EP_G 22 -#define AR_poigne_G 24 - -#define AR_sol 10 - -//vitesse asservissement - -#define VITESSE_RALENTI 25 -#define VITESSE_NORMAL 300 - -#define ACCELERATION_RALENTI 1000 -#define DECELERATION_RALENTI 1000 - -#define ACCELERATION 5000 -#define DECELERATION 5000 - -#define TIMEOUT_ACTION_PRESENTOIR 5000 - - - extern char status_pompe; extern char fpresentoir_avant, fpresentoir_arriere; @@ -57,32 +14,14 @@ void gabarit_robot(void); -void presentoir_avant(void); -void balance_avant(void); -void balance_avant_placement(void); - -void presentoir_arriere(void); -void balance_arriere(void); -void balance_arriere_placement(void); - -void accelerateur_avant(void); -void accelerateur_avant_insertion(void); - -void accelerateur_arriere(void); +void competition_bras_at(char bras_choisi); +void competition_bras_re(char bras_choisi); +void ecueil_avant_at(void); +void ecueil_arriere_at(void); void goldenium_avant(void); void goldenium_arriere(void); -void sol_avant_baisser(void); -void sol_arriere_baisser(void); - -void sol_avant_remonter(void); -void sol_arriere_remonter(void); - -void recroqueviller_avant(void); -void recroqueviller_arriere(void); - - void automate_ventouse_presentoir_avant(void); void automate_ventouse_presentoir_arriere (void); @@ -108,16 +47,4 @@ void accelerateur_insertion_arriere_gauche(void); - -/* -#define AV_BAS 0 -#define AV_DROIT 1 -#define AV_CENTRE 2 -#define AV_GAUCHE 3 - -#define AR_BAS 4 -#define AR_DROIT 5 -#define AR_CENTRE 6 -#define AR_GAUCHE 7*/ -#endif -#endif +#endif \ No newline at end of file