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.cpp
- Revision:
- 17:8587a8434e1e
- Parent:
- 16:77e352ca3035
- Child:
- 18:ea163c506057
--- a/actions_Pr.cpp Tue May 28 15:10:01 2019 +0000 +++ b/actions_Pr.cpp Tue May 28 16:12:17 2019 +0000 @@ -330,12 +330,12 @@ { if(cote==0) { uint8_t servos_av_gauche[4] = {RLED_ON, AV_EP_G, RLED_ON, AV_poigne_G}; - uint16_t pos_av_gauche[2] = {800,780}; + uint16_t pos_av_gauche[2] = {770,780};//800,780 positionControl_Mul_ensemble_complex(2,1,servos_av_gauche, pos_av_gauche,3); } else { uint8_t servos_av_droite[4] = {BLED_ON, AV_EP_D, BLED_ON, AV_poigne_D}; - uint16_t pos_av_droite[2] = {250,270}; - positionControl_Mul_ensemble_complex(2,25,servos_av_droite, pos_av_droite,1); + uint16_t pos_av_droite[2] = {290,270};//250,270 + positionControl_Mul_ensemble_complex(2,1,servos_av_droite, pos_av_droite,1); } verification(); } @@ -344,12 +344,12 @@ { if(cote==0) { uint8_t servos_ar_gauche[4] = {RLED_ON, AR_EP_G, RLED_ON, AR_poigne_G}; - uint16_t pos_ar_gauche[2] = {820,780}; + uint16_t pos_ar_gauche[2] = {790,780};//820,780 positionControl_Mul_ensemble_complex(2,1,servos_ar_gauche, pos_ar_gauche,1); } else { uint8_t servos_ar_droite[4] = {BLED_ON, AR_EP_D, BLED_ON, AR_poigne_D}; - uint16_t pos_ar_droite[2] = {150,200}; - positionControl_Mul_ensemble_complex(2,25,servos_ar_droite, pos_ar_droite,3); + uint16_t pos_ar_droite[2] = {180,200};//150,200 + positionControl_Mul_ensemble_complex(2,1,servos_ar_droite, pos_ar_droite,3); } verification(); }