changes to motor library
Fork of motor by
Diff: motor.h
- Branch:
- testing
- Revision:
- 7:9aaa4f73bb32
- Parent:
- 6:b4346ef9fa04
- Child:
- 11:4a6f97cc1f1e
--- a/motor.h Mon Oct 24 14:44:12 2016 +0000 +++ b/motor.h Mon Nov 07 16:00:45 2016 +0000 @@ -3,9 +3,9 @@ int motor_setup(); void TurnOn(); -void RunMotor(); +void runMotor(); void DefaultMode(); - +void centerWheels(); //Speed control void Acc(float& motorA, float& motorB); @@ -21,4 +21,5 @@ //advanced corner void deltaCornerRight(float speed,float deltaTheta); -void deltaCornerLeft(float speed,float deltaTheta); \ No newline at end of file +void deltaCornerLeft(float speed,float deltaTheta); +void steering(float center, float theta, int maxspeed) \ No newline at end of file