Commit 125bd730a498801009229194e3b96d7b1270a163

Authored by Watanabe Kaori
1 parent fd8f5fc1

les roues arrières tournent pour pivoter aussi

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
... ... @@ -272,8 +272,8 @@ void avancer(int vitesse){
272 272 void pivoter (int rotation){
273 273 setSpeed(MOTOR_up_left, rotation);
274 274 setSpeed(MOTOR_up_right, - rotation);
275   - setSpeed(MOTOR_down_left, 0);
276   - setSpeed(MOTOR_down_right, 0);
  275 + setSpeed(MOTOR_down_left, rotation);
  276 + setSpeed(MOTOR_down_right, -rotation);
277 277 }
278 278  
279 279  
... ...