changes to motor library

Dependents:   pid-car-example

Fork of motor by Lawrence Harlow

Branch:
testing
Revision:
11:4a6f97cc1f1e
Parent:
7:9aaa4f73bb32
Child:
14:bc77edc4adb0
diff -r f4fc8ccde4ad -r 4a6f97cc1f1e motor.h
--- a/motor.h	Fri Nov 11 12:50:48 2016 +0000
+++ b/motor.h	Mon Nov 14 18:04:20 2016 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "TFC.h"
+#include <math.h>
 
 int  motor_setup(); 
 void TurnOn();
@@ -19,7 +20,7 @@
 void cornerRight(float speed);
 
 //advanced corner
-
-void deltaCornerRight(float speed,float deltaTheta);
-void deltaCornerLeft(float speed,float deltaTheta);
-void steering(float center, float theta, int maxspeed)
\ No newline at end of file
+void dutyCycleCorner( float speed, float angle);
+void corner(float &w1,float &w2,float deltaTheta,int maxspeed);
+void centerWheels();
+void steering(float center, float theta, int maxspeed);
\ No newline at end of file