Robot secondaire

Dependencies:   RoboClaw mbed StepperMotor

Fork of RoboClaw by Simon Emarre

Revision:
30:58bfac39e701
Parent:
12:d5e21f71c2a9
Child:
31:8bcc3a0bfa8a
--- a/Odometry/Odometry.cpp	Thu Jan 21 14:58:47 2016 +0000
+++ b/Odometry/Odometry.cpp	Fri Jan 22 15:46:43 2016 +0000
@@ -138,7 +138,7 @@
     //pc.printf("IniR:%6d\tDistR:%6d\tIniL:%6d\tDistL:%6d\n\r", pos_initiale_right, distance_ticks_right, pos_initiale_left, distance_ticks_left);
 
     while((m_pulses_right != distance_ticks_right)&&(m_pulses_left != distance_ticks_left)); //pc.printf("%6d\t%6d\t%6d\t%6d\t%6d\n\r",m_pulses_right - pos_initiale_right, distance_ticks_right, m_pulses_left - pos_initiale_left, distance_ticks_left);
-    setTheta(theta_);
+    //setTheta(theta_);
     led = 1;
     //arrived = true;
     //pc.printf("arrivey %d\n\r",pos_prog);