omniwheel lib

Dependents:   NHK2017_octopus NHK2017_octopus2 NHK2017_octopus2_drive 2018NHK_gakugaku_robo ... more

Files at this revision

API Documentation at this revision

Comitter:
shinjitakano
Date:
Mon Jan 21 17:57:44 2019 +0900
Parent:
4:6005d2ab5d52
Commit message:
wheel.cpp???????

Changed in this revision

wheel.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/wheel.cpp	Mon Nov 06 14:18:41 2017 +0900
+++ b/wheel.cpp	Mon Jan 21 17:57:44 2019 +0900
@@ -72,7 +72,7 @@
 
 double Wheel::calculateShift(double r, double theta)
 {
-    outputShift = sin(theta + radian) * r;
+    outputShift = sin(theta - radian) * r;
     return outputShift;
 }