ControlMainでの変更に対応して、新しくレポジトリを作りました

Dependencies:   Control_Yokutan_CANver1 XBusServo mbed mbed-rtos

Fork of ControlYokutan2017 by albatross

Branch:
mpu????????
Revision:
52:ad28166cf6d3
Parent:
48:0bd406fa4a7f
--- a/main.cpp	Thu Mar 23 15:58:55 2017 +0000
+++ b/main.cpp	Sun Mar 26 07:14:28 2017 +0000
@@ -16,14 +16,14 @@
 #define MPU_LOOP_TIME 0.01
 #define MPU_DELT_MIN 250
 
-#define ERURON_MOVE_DEG_INI_R 0.9
-#define DRUG_MOVE_DEG_INI_R -0.07
-#define ERURON_TRIM_INI_R 0.35
-#define DRUG_TRIM_INI_R 0.62
+#define ERURON_MOVE_DEG_INI_R 0.7
+#define DRUG_MOVE_DEG_INI_R 0.5
+#define ERURON_TRIM_INI_R 0.58
+#define DRUG_TRIM_INI_R 0.37//値を小さくすると閉じる
 
 #define ERURON_MOVE_DEG_INI_L 0.7
-#define DRUG_MOVE_DEG_INI_L -0.10
-#define ERURON_TRIM_INI_L 0.4
+#define DRUG_MOVE_DEG_INI_L -0.50
+#define ERURON_TRIM_INI_L 0.16
 #define DRUG_TRIM_INI_L 0.68//値を小さくすると開く側
 
 #define PHASE_NUM 13.0 //偶数にしてください。そしてメインコードと必ず同じ値にしてください
@@ -66,7 +66,7 @@
 float drugTrim;
 float eruronMoveDeg;
 float drugMoveDeg;
-int eruronint = 1;
+int eruronint = 7;
 unsigned short ina_val;
 double V,C;
 bool SERVO_FLAG;