harurobo_mbed_undercarriage_sub
Diff: PathFollowing.h
- Revision:
- 2:32362343f091
- Parent:
- 0:591749f315ac
- Child:
- 4:69775231687c
diff -r d438093cb464 -r 32362343f091 PathFollowing.h --- a/PathFollowing.h Sat Nov 24 14:44:14 2018 +0000 +++ b/PathFollowing.h Sat Dec 01 05:17:07 2018 +0000 @@ -5,7 +5,7 @@ extern double now_x,now_y,now_angle; //main.cppにこれらの値の読み込みを書くこと extern double now_timeQ,now_timeR; -void XYRmotorout(double plot_x1, double plot_y1, double plot_x2, double plot_y2, double *ad_x_out, double *ad_y_out, double *ad_r_out); +void XYRmotorout(int type, double plot_x1, double plot_y1, double plot_x2, double plot_y2, double *ad_x_out, double *ad_y_out, double *ad_r_out); //出発地点、目標地点の座標から機体のx軸方向、y軸方向、旋回の出力を算出する関数 /* *1.main分内でx_out,y_out,r_outをdouble型で定義