2018年度用翼端mbedプログラム

Dependencies:   Control_Yokutan_CANver1 XBusServo mbed mbed-rtos

Fork of ControlYokutan2017_2 by albatross

Branch:
XBus???
Revision:
40:ad98da5da7bf
Parent:
39:c6036315831a
Child:
41:efebfdd955ac
Child:
42:bf98a29e81ac
--- a/main.cpp	Sat Mar 11 17:04:49 2017 +0000
+++ b/main.cpp	Sat Mar 11 22:42:45 2017 +0000
@@ -12,12 +12,12 @@
 #define SEND_DATAS_LOOP_TIME 0.1
 #define RECEIVE_DATAS_LOOP_TIME 0.1
 
-#define ERURON_MOVE_DEG_INI_R 0.5
+#define ERURON_MOVE_DEG_INI_R 1.0
 #define DRUG_MOVE_DEG_INI_R 0.32
 #define ERURON_TRIM_INI_R 0
 #define DRUG_TRIM_INI_R 0.62
 
-#define ERURON_MOVE_DEG_INI_L 0.5
+#define ERURON_MOVE_DEG_INI_L 1.0
 #define DRUG_MOVE_DEG_INI_L 0.32
 #define ERURON_TRIM_INI_L 0
 #define DRUG_TRIM_INI_L 0.62
@@ -135,7 +135,7 @@
         toSendDatas[i] = gyro_c[i];
     }
 //    toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)(V/100);
-    toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)77;
+    toSendDatas[TO_SEND_DATAS_NUM - 1] = (char)V;
 }
 
 void receiveDatas()