Commit 125bd730 authored by Watanabe Kaori's avatar Watanabe Kaori
Browse files

les roues arrières tournent pour pivoter aussi

parent fd8f5fc1
......@@ -272,8 +272,8 @@ void avancer(int vitesse){
void pivoter (int rotation){
setSpeed(MOTOR_up_left, rotation);
setSpeed(MOTOR_up_right, - rotation);
setSpeed(MOTOR_down_left, 0);
setSpeed(MOTOR_down_right, 0);
setSpeed(MOTOR_down_left, rotation);
setSpeed(MOTOR_down_right, -rotation);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment