SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Revision:
52:078b521c9edf
Parent:
46:a5eb9bd3bb55
Child:
53:36d9335fec96
diff -r a8e58fd3e131 -r 078b521c9edf Hardwares/Motor.h
--- a/Hardwares/Motor.h	Thu Apr 06 18:37:16 2017 +0000
+++ b/Hardwares/Motor.h	Thu Apr 06 18:57:54 2017 +0000
@@ -7,6 +7,9 @@
 #define MDIR_Backward 1
 
 
+#define MOTOR_MAX_SPEED_LIMIT 0.2f
+#define MOTOR_DIFF_MIN_SPEED  0.5f
+
 #ifdef __cplusplus
 extern "C" {
 #endif