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 QEI biquadFilter
Diff: controller.h
- Revision:
- 18:1c9dc6caab9d
- Parent:
- 12:8295c02d740f
- Child:
- 24:5c67674a40cf
diff -r 551049a798a3 -r 1c9dc6caab9d controller.h
--- a/controller.h Thu Nov 03 13:15:00 2016 +0000
+++ b/controller.h Thu Nov 03 16:29:31 2016 +0000
@@ -1,19 +1,10 @@
#include "robot.h"
-// Maximum y value the roller can reach
-//const float maxY = h + 0.5 * d + 0.5 * reach;
-// Minimum y value the roller can reach
-//const float minY = h + 0.5 * d - 0.5 * reach;
-// Max x value for which the robot can paint a straight line
-//const float maxX =
-// Min x value for which the robot can paint a straight line
-//const float minX = L_min;
-
const float topY = h + 0.5 * d + 0.3 * reach;
-const float topX = 35;
+const float topX = 30;
const float bottomY = h + 0.5 * d - 0.3 * reach;
-const float bottomX = 35;
+const float bottomX = 30;
class RobotController {
private: