Robot's source code

Dependencies:   mbed

Revision:
11:5513638d3c13
Parent:
10:bca0274a007b
Child:
13:ae5718ac8511
Child:
16:6bd245b26423
--- a/main.cpp	Fri Oct 03 14:11:17 2014 +0000
+++ b/main.cpp	Fri Oct 03 14:20:48 2014 +0000
@@ -96,7 +96,7 @@
         
         
         instance.computeCommand(dX, (double)dt, -1);        
-        pc.printf("command : \n phi_r = %d \n phi_l = %d \n", phi_r/phi_max*100, phi_l/phi_max*100);
+        pc.printf("command : \n phi_r = %f \n phi_l = %f \n", phi_r/phi_max*100, phi_l/phi_max*100);
          
         /*------------------------------------------------------------------------------------------*/