2014 sift / Mbed 2 deprecated TVDctrller2017_brdRev1_PandA

Dependencies:   mbed

Fork of TVDctrller2017_brdRev1_ver6 by 2014 sift

Revision:
5:a5462959b3ab
Parent:
3:821e2f07a260
Child:
6:26fa8c78500e
--- a/TVDcontrolDEMO_main.cpp	Sun Jul 24 08:23:56 2016 +0000
+++ b/TVDcontrolDEMO_main.cpp	Mon Jul 25 07:12:49 2016 +0000
@@ -79,7 +79,7 @@
         
         //printf("%f\n\r", 45.0/0xFFFF * calcRequestTorque());
         
-        //printf("%1.2f\t%1.2f\t%1.6f\t%1.5f\r\n", 45.0f / 0xffff * calcRequestTorque(), getVelocity(), time, getSteerAngle());
+        printf("%1.2f\t%d\t%1.6f\t%1.5f\r\n", 45.0f / 0xffff * calcRequestTorque(), getPulseTime(RIGHT_MOTOR), time, getSteerAngle());
         //printf("%1.6f\r\n", time);
         time = timer.read();