librairie actions gros robot carte esclave
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019
Diff: actions_Gr.cpp
- Revision:
- 3:a630a1ccf5f0
- Parent:
- 2:33583329d6c8
- Child:
- 4:8ac0f7c17ac7
diff -r 33583329d6c8 -r a630a1ccf5f0 actions_Gr.cpp --- a/actions_Gr.cpp Thu May 23 14:15:46 2019 +0000 +++ b/actions_Gr.cpp Thu May 23 17:21:37 2019 +0000 @@ -44,17 +44,17 @@ -void gabarit_gros_robot(void) +void gabarit_robot(void) { uint8_t servos_av_centre[4] = {GLED_ON, AV_EP_C, GLED_ON, AV_poigne_C}; - uint16_t pos_av_centre[2] = {550,600};//470,350 + uint16_t pos_av_centre[2] = {550,550};//470,350 int speed=100; deverouillage_torque(); - //positionControl_Mul_ensemble_complex(2,speed,servos_av_centre, pos_av_centre,2); + positionControl_Mul_ensemble_complex(2,speed,servos_av_centre, pos_av_centre,2); } @@ -173,7 +173,7 @@ { uint8_t servos_av_centre[4] = {GLED_ON, AV_EP_C, GLED_ON, AV_poigne_C}; - uint16_t pos_av_centre[2] = {470,512}; + uint16_t pos_av_centre[2] = {512,512}; int speed=1;