changes to motor library
Fork of motor by
Diff: motor.cpp
- Branch:
- motorupdate
- Revision:
- 43:9384715df1b8
- Parent:
- 42:80c4ce51cbe4
- Child:
- 44:b46efc310b83
--- a/motor.cpp Thu Mar 23 14:00:58 2017 +0000 +++ b/motor.cpp Thu Apr 27 10:18:19 2017 +0000 @@ -177,8 +177,8 @@ } else{ - w1= speed- deltaW*tune; - w2= speed +deltaW*tune; + w1= speed- (deltaW*tune); + w2= speed+ (deltaW*tune); } }