changes to motor library
Fork of motor by
Diff: motor.cpp
- Branch:
- motorupdate
- Revision:
- 16:9c5e9306ae10
- Parent:
- 15:f40e834d063b
- Child:
- 18:e3fd26490f58
--- a/motor.cpp Sun Nov 20 13:45:30 2016 +0000 +++ b/motor.cpp Sun Nov 20 14:34:57 2016 +0000 @@ -8,7 +8,6 @@ void runMotor(); void DefaultMode(); - //Speed control float setDutyCycle(float dutyC, int w,int targetW); @@ -19,8 +18,8 @@ void corner(float &w1,float &w2,float deltaTheta,int maxspeed); -int cornerPwmControl;// this sets the cornering percentage ratio. value between 1 and 0. - // 100 means both motors run at the same speed. 0 means that one motor turns off. +//Variables +int cornerPwmControl;