changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Branch:
motorupdate
Revision:
21:aaa482dad274
Parent:
15:f40e834d063b
Child:
22:85cf7b6b0422
--- a/motor.h	Wed Nov 30 11:10:07 2016 +0000
+++ b/motor.h	Wed Nov 30 11:15:31 2016 +0000
@@ -3,25 +3,15 @@
 #include <math.h>
 #include "angular_speed.h"
 
-int  motor_setup(); 
-void TurnOn();
 void runMotor();
 void DefaultMode();
-void centerWheels();
 
 //Speed control
 
-
 float setDutyCycle(float dutyC, int w,int targetW);
 
 //Corner Control
 
-
-void cornerLeft(float speed);
-void cornerRight(float speed);
+void dutyCycleCorner( float speed, float angle);
+void sensorCorner(float &w1,float &w2,float theta,int speed)
 
-//advanced corner
-void dutyCycleCorner( float speed, float angle);
-void corner(float &w1,float &w2,float deltaTheta,int maxspeed);
-
-void steering(float center, float theta, int maxspeed);
\ No newline at end of file