![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2017_Bteam_beta_master_ashi
Dependencies: Alpha_Movements BoolProcess DataCaller_beta MD_PID mbed
Fork of 2017_Bteam_beta_master by
Revision 15:c78ef3aa8f5d, committed 2017-09-29
- 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 |
diff -r b2569bdcd716 -r c78ef3aa8f5d 2017_3_h/2017_3_h.cpp --- 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++){
diff -r b2569bdcd716 -r c78ef3aa8f5d main.cpp --- 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); }