changes to motor library
Fork of motor by
Diff: motor.cpp
- Branch:
- motorupdate
- Revision:
- 40:29373275b6cb
- Parent:
- 39:772ff68123cc
- Child:
- 41:827ff8733729
--- a/motor.cpp Sun Jan 29 13:15:40 2017 +0000 +++ b/motor.cpp Thu Mar 23 13:48:46 2017 +0000 @@ -183,7 +183,7 @@ } } - else{ + /* else{ //calulates the speed in eack wheel //speed of inner wheel float vin = speed*(1 - 0.1/tan((theta/0.022222)*(3.14f / 180.0f))); @@ -204,7 +204,7 @@ w2=vout; } - } + }*/ return; }