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:
20:4cdbd1ae4ead
Parent:
16:66c7a09e71ee
Parent:
14:88302da8bff0
Child:
45:501b7909139a
--- a/Hardwares/Servo.cpp	Sun Feb 12 22:29:45 2017 +0000
+++ b/Hardwares/Servo.cpp	Tue Feb 14 19:55:04 2017 +0000
@@ -36,23 +36,3 @@
     //m_core.GetUSBServer().PushUnreliableMsg('D', buf);
     m_pwm.pulsewidth(m_pulseWidth); 
 }
-
-/*
-void Servo::turnRight(float angle)
-{
-    if(angle > 21)
-        angle = 21;
-    
-    m_pulseWidth = (0.0015 + (0.000017 * angle));
-    m_pwm.pulsewidth(m_pulseWidth); 
-}
-
-void Servo::turnLeft(float angle)
-{
-    if(angle > 21)
-        angle = 21;
-        
-    m_pulseWidth = (0.0015 - (0.00017 * angle));
-    m_pwm.pulsewidth(m_pulseWidth); 
-}
-*/
\ No newline at end of file