3/6

Dependencies:   mbed move4wheel2 EC CruizCore_R1370P

Revision:
9:337fe0747940
Parent:
6:26724c287387
--- a/movement/movement.h	Tue Mar 05 04:29:49 2019 +0000
+++ b/movement/movement.h	Wed Mar 06 03:51:08 2019 +0000
@@ -1,7 +1,7 @@
 #ifndef HARUROBO2019_MOVEMENT
 #define HARUROBO2019_MOVEMENT
 
-extern char can_ashileddata[1];
+extern char can_ashileddata[2];
 
 extern int16_t m1,m2,m3,m4;
 
@@ -25,6 +25,8 @@
 
 void calc_xy(double tgt_angle, double u, double v);
 
+void enc_correction(int x_select,int y_select);
+
 void purecurve(int type,double u, double v,          //正面を変えずに円弧or楕円を描いて曲がる
                double point_x1,double point_y1,
                double point_x2,double point_y2,