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.
Dependencies: mbed mbed-rtos Motor LSM9DS1_Library_cal X_NUCLEO_53L0A1
Diff: RobotController.h
- Revision:
- 20:d9a373fecd42
- Parent:
- 18:7ed985584ec7
--- a/RobotController.h Thu Apr 25 18:53:13 2019 +0000 +++ b/RobotController.h Thu Apr 25 22:13:21 2019 +0000 @@ -6,11 +6,11 @@ #include "Encoder.h" #include "LSM9DS1.h" -#define COUNTPERCM 29.538 ///< Encoder counts 192 every 65 mm of wheel rotation +#define COUNTTOMM 9.846 ///< Encoder count to distance conversion #define ROTERRI 0.730 ///< 90 commanded rotation overshoot compensation #define ROTERRII 0.770 ///< 180 commanded rotation overshoot compensation #define ROTERRIII 0.810 ///< 270, 360 commanded rotation overshoot compensation -#define MMTOIN 0.0393701 ///< Metric to emperical length conversion +#define MMTOCM 0.10 ///< Metric to emperical length conversion /** * Robot Controller class.