changes to motor library
Fork of motor by
Diff: motor.cpp
- Branch:
- motorupdate
- Revision:
- 31:51783b84a859
- Parent:
- 30:3d6bb5f736a5
- Child:
- 33:734ce4c36c3f
diff -r 3d6bb5f736a5 -r 51783b84a859 motor.cpp --- a/motor.cpp Wed Jan 11 20:01:48 2017 +0000 +++ b/motor.cpp Thu Jan 12 13:29:08 2017 +0000 @@ -141,7 +141,7 @@ // this is the ED for when the car is running off of the sensors rather than a set PWM bool leftOrRight = false; - float tune = 1.2; + float tune = 0.8; // makes theta positive and sets if the car is turning left or right if(theta<0) {