ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
Diff: main_processing/strategy_parts/output.cpp
- Revision:
- 26:6ca88eeaa2b4
- Parent:
- 25:a7460e23e02e
- Child:
- 28:f246a5fbf6a5
--- a/main_processing/strategy_parts/output.cpp Thu Mar 17 13:00:24 2016 +0000 +++ b/main_processing/strategy_parts/output.cpp Mon Mar 21 05:49:18 2016 +0000 @@ -59,7 +59,7 @@ } } void tx_motor(){//モーターへの送信 - array2(speed[1],-speed[0],-speed[2],-speed[3]);//右後左無 + array2(MD_1CH*speed[1],MD_2CH*speed[0],MD_3CH*speed[2],MD_4CH*speed[3]);//右後左ド motor.printf("%s",StringFIN.c_str()); } void move(int vx, int vy, int vs){//三輪オムニの移動(基本の形)