okada yasuhiro / MD_MDDS30_oit

Files at this revision

API Documentation at this revision

Comitter:
okadaya
Date:
Sat Jul 24 11:17:27 2021 +0000
Parent:
4:085a9c395959
Commit message:
rebuild

Changed in this revision

MDDS30_oit.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MDDS30_oit.cpp	Sat Jul 24 11:13:57 2021 +0000
+++ b/MDDS30_oit.cpp	Sat Jul 24 11:17:27 2021 +0000
@@ -19,7 +19,7 @@
 }
 
 void MDDS30oit::lefttire(float speed){
-                speed=speed*127.0f;
+                speed=speed*63.0f;
                 if(speed>0){
                     direction=(word2<<1)|0;
                     }
@@ -34,7 +34,7 @@
 }
 
 void MDDS30oit::righttire(float speed){
-                speed=speed*127.0f;
+                speed=speed*63.0f;
                 if(speed>0){
                     direction=(word<<1)|0;
                     }