Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TVDctrller2017_brdRev1_ver6 by
Diff: TVDCTRL.h
- 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);