2017_Bteam_beta_master_ashi

Dependencies:   Alpha_Movements BoolProcess DataCaller_beta MD_PID mbed

Fork of 2017_Bteam_beta_master by taiyou komazawa

Files at this revision

API Documentation at this revision

Comitter:
hirotayamato
Date:
Fri Sep 29 00:33:48 2017 +0000
Parent:
14:b2569bdcd716
Commit message:
2017_Bteam_beta_master_ashi

Changed in this revision

2017_3_h/2017_3_h.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/2017_3_h/2017_3_h.cpp	Thu Sep 28 00:09:06 2017 +0000
+++ b/2017_3_h/2017_3_h.cpp	Fri Sep 29 00:33:48 2017 +0000
@@ -62,10 +62,10 @@
     keisu[0][1] = 0.0;
     keisu[0][2] = 1.0;
     keisu[1][0] = -1.0 / 2.0;
-    keisu[1][1] = sqrt(3.0) / 2.0;
+    keisu[1][1] = -sqrt(3.0) / 2.0;
     keisu[1][2] = 1.0;
     keisu[2][0] = -1.0 / 2.0;
-    keisu[2][1] = -sqrt(3.0) / 2.0;
+    keisu[2][1] = sqrt(3.0) / 2.0;
     keisu[2][2] = 1.0;
 
     for(int i = 0; i < 3; i++){
--- a/main.cpp	Thu Sep 28 00:09:06 2017 +0000
+++ b/main.cpp	Fri Sep 29 00:33:48 2017 +0000
@@ -30,7 +30,7 @@
         y = beta->read(1) / 128.00 * -1.00;
         t = beta->read(2) / 128.00 * -1.00;
         
-        Omni.Drive(1, x, y, t);
+        Omni.Drive(0, x, y, t);
             
         wait(0.01);
     }