2014 sift / Mbed 2 deprecated TVDctrller2017_brdRev1_PandA

Dependencies:   mbed

Fork of TVDctrller2017_brdRev1_ver6 by 2014 sift

Revision:
46:16f1a7a01f5f
Parent:
44:d433bb5f77c0
Child:
51:640198055ed6
--- a/TVDCTRL.h	Wed Dec 06 08:02:28 2017 +0000
+++ b/TVDCTRL.h	Tue Dec 12 11:37:33 2017 +0000
@@ -81,7 +81,7 @@
 void initTVD(void);
 void driveTVD(int TVDmode, bool isRedyToDrive);
 
-float getVelocity(void);
+double getVelocity(void);
 int getCurrentSensor(int sensor);
 int getRawSensor(int sensor);
 void getCurrentErrCount(struct errCounter_t *ptr);
@@ -89,7 +89,7 @@
 int getMotorTorque(select_t rl);
 int getDistributionTorque(void);
 int isBrakeOn(void);
-float getWheelRps(select_t position);
+double getWheelRps(select_t position);
 //int distributeTorque(float steeringWheelAngle, float velocity);
 int distributeTorque(float steeringWheelAngle);
 float limitTorqueDistribution(void);