Eimantas Bernotavicius / Mbed 2 deprecated Buggy_Project

Dependencies:   QEI mbed

Revision:
3:c9df852ad9ac
Child:
4:48d390356fba
diff -r 7f4be54c7257 -r c9df852ad9ac constants.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/constants.cpp	Wed Feb 21 11:55:29 2018 +0000
@@ -0,0 +1,12 @@
+//
+#define ENCODER_PULSE 256 //per manual
+#define GEAR_RATIO 20 //determine this for me pls
+#define SAMPLE_TIME 1.0f //user defined
+#define WHEEL_DISTANCE 20//need to measure that
+//
+#define NORMAL_PWM 0.5f
+#define FAST_PWM 0.7f
+#define SLOW_PWM 0.3f
+#define RIGHT_MOTOR_CONST 1
+#define LEFT_MOTOR_CONST 1
+#define MOTOR_PERIOD 1.0f
\ No newline at end of file