Ver Tikutaikai

Dependencies:   mbed SBDBT BNO055 YKNCT_MD YKNCT_I2C

Committer:
TakushimaYukimasa
Date:
Mon Oct 25 10:37:05 2021 +0000
Revision:
1:fa3652aca312
Parent:
0:c527a14d991a
ver Tikutaikai

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ac0314naga 0:c527a14d991a 1 #include <main.h>
ac0314naga 0:c527a14d991a 2
ac0314naga 0:c527a14d991a 3 /* 目標地点数 */
ac0314naga 0:c527a14d991a 4 const int TargetMAX = 51;
ac0314naga 0:c527a14d991a 5
ac0314naga 0:c527a14d991a 6 /* 目標座標 X,Y,Theta,Time(ms) ジャグ機構 竿射出 リボンオプション*/
ac0314naga 0:c527a14d991a 7 const COORDINATE Target[TargetMAX] = {
ac0314naga 0:c527a14d991a 8 {-2000, -2000, 180, 0, 0, 0, 0},
ac0314naga 0:c527a14d991a 9 {-2000, -2000, 180, 16000, 0, 0, 0},
ac0314naga 0:c527a14d991a 10 {-2000, -2000, 180, 24000, 1, 0, 0},
ac0314naga 0:c527a14d991a 11 {-2000, -2000, 180, 29000, 1, 0, 0},
ac0314naga 0:c527a14d991a 12 {-2000, -2000, 180, 31000, 0, 0, 0},
TakushimaYukimasa 1:fa3652aca312 13 {-1800, -2000, 180, 31450, 0, 0, 0},
ac0314naga 0:c527a14d991a 14 {1500, -2000, 180, 38875, 1, 0, 0},
ac0314naga 0:c527a14d991a 15 {2000, -2000, 180, 40000, 0, 0, 0},
ac0314naga 0:c527a14d991a 16 {2000, 0, 180, 46000, 0, 0, 0},
ac0314naga 0:c527a14d991a 17 { 600, 2000, 180, 49000, 0, 0, 0},
ac0314naga 0:c527a14d991a 18 { 600, 2000, 180, 54000, 0, 0, 1},
ac0314naga 0:c527a14d991a 19 { 600, 2000, 180, 56000, 0, 0, 2},
ac0314naga 0:c527a14d991a 20 {2000, 0, 60, 60000, 0, 0, 2},
ac0314naga 0:c527a14d991a 21 {2000, -2000, 135, 63600, 0, 0, 2},
ac0314naga 0:c527a14d991a 22 {2000, -2000, 135, 64900, 0, 0, 2},
ac0314naga 0:c527a14d991a 23 {2000, -2000, 225, 67600, 0, 0, 2},
ac0314naga 0:c527a14d991a 24 {2000, -2000, 225, 68900, 0, 0, 2},
ac0314naga 0:c527a14d991a 25 {2000, -2000, 135, 71600, 0, 0, 2},
ac0314naga 0:c527a14d991a 26 {2000, -2000, 135, 72900, 0, 0, 2},
ac0314naga 0:c527a14d991a 27 {2000, -2000, 225, 75600, 0, 0, 2},
ac0314naga 0:c527a14d991a 28 {2000, -2000, 225, 76900, 0, 0, 2},
ac0314naga 0:c527a14d991a 29 {2000, 0, 360, 80000, 0, 0, 2},
ac0314naga 0:c527a14d991a 30 { 2000 * cos(16 / 8.0 * PI), 2000 * sin(16 / 8.0 * PI), 360 + RAD_TO_DEG(0 / 8.0 * PI), 81000 + 29000 * 0 / 24, 0, 0, 2},
ac0314naga 0:c527a14d991a 31 { 2000 * cos(15 / 8.0 * PI), 2000 * sin(15 / 8.0 * PI), 360 + RAD_TO_DEG(-1 / 8.0 * PI), 81000 + 29000 * 1 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 32 { 2000 * cos(14 / 8.0 * PI), 2000 * sin(14 / 8.0 * PI), 360 + RAD_TO_DEG(-2 / 8.0 * PI), 81000 + 29000 * 2 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 33 { 2000 * cos(13 / 8.0 * PI), 2000 * sin(13 / 8.0 * PI), 360 + RAD_TO_DEG(-3 / 8.0 * PI), 81000 + 29000 * 3 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 34 { 2000 * cos(12 / 8.0 * PI), 2000 * sin(12 / 8.0 * PI), 360 + RAD_TO_DEG(-4 / 8.0 * PI), 81000 + 29000 * 4 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 35 { 2000 * cos(11 / 8.0 * PI), 2000 * sin(11 / 8.0 * PI), 360 + RAD_TO_DEG(-5 / 8.0 * PI), 81000 + 29000 * 5 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 36 { 2000 * cos(10 / 8.0 * PI), 2000 * sin(10 / 8.0 * PI), 360 + RAD_TO_DEG(-6 / 8.0 * PI), 81000 + 29000 * 6 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 37 { 2000 * cos(9 / 8.0 * PI), 2000 * sin(9 / 8.0 * PI), 360 + RAD_TO_DEG(-7 / 8.0 * PI), 81000 + 29000 * 7 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 38 { 2000 * cos(8 / 8.0 * PI), 2000 * sin(8 / 8.0 * PI), 360 + RAD_TO_DEG(-8 / 8.0 * PI), 81000 + 29000 * 8 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 39 { 2000 * cos(7 / 8.0 * PI), 2000 * sin(7 / 8.0 * PI), 360 + RAD_TO_DEG(-9 / 8.0 * PI), 81000 + 29000 * 9 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 40 { 2000 * cos(6 / 8.0 * PI), 2000 * sin(6 / 8.0 * PI), 360 + RAD_TO_DEG(-10 / 8.0 * PI), 81000 + 29000 * 10 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 41 { 2000 * cos(5 / 8.0 * PI), 2000 * sin(5 / 8.0 * PI), 360 + RAD_TO_DEG(-11 / 8.0 * PI), 81000 + 29000 * 11 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 42 { 2000 * cos(4 / 8.0 * PI), 2000 * sin(4 / 8.0 * PI), 360 + RAD_TO_DEG(-12 / 8.0 * PI), 81000 + 29000 * 12 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 43 { 2000 * cos(3 / 8.0 * PI), 2000 * sin(3 / 8.0 * PI), 360 + RAD_TO_DEG(-13 / 8.0 * PI), 81000 + 29000 * 13 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 44 { 2000 * cos(2 / 8.0 * PI), 2000 * sin(2 / 8.0 * PI), 360 + RAD_TO_DEG(-14 / 8.0 * PI), 81000 + 29000 * 14 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 45 { 2000 * cos(1 / 8.0 * PI), 2000 * sin(1 / 8.0 * PI), 360 + RAD_TO_DEG(-15 / 8.0 * PI), 81000 + 29000 * 15 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 46 { 2000 * cos(0 / 8.0 * PI), 2000 * sin(0 / 8.0 * PI), 360 + RAD_TO_DEG(-16 / 8.0 * PI), 81000 + 29000 * 16 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 47 { 2000 * cos(-1 / 8.0 * PI), 2000 * sin(-1 / 8.0 * PI), 360 + RAD_TO_DEG(-17 / 8.0 * PI), 81000 + 29000 * 17 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 48 { 2000 * cos(-2 / 8.0 * PI), 2000 * sin(-2 / 8.0 * PI), 360 + RAD_TO_DEG(-18 / 8.0 * PI), 81000 + 29000 * 18 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 49 { 2000 * cos(-3 / 8.0 * PI), 2000 * sin(-3 / 8.0 * PI), 360 + RAD_TO_DEG(-19 / 8.0 * PI), 81000 + 29000 * 19 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 50 { 2000 * cos(-4 / 8.0 * PI), 2000 * sin(-4 / 8.0 * PI), 360 + RAD_TO_DEG(-20 / 8.0 * PI), 81000 + 29000 * 20 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 51 { 2000 * cos(-5 / 8.0 * PI), 2000 * sin(-5 / 8.0 * PI), 360 + RAD_TO_DEG(-21 / 8.0 * PI), 81000 + 29000 * 21 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 52 { 2000 * cos(-6 / 8.0 * PI), 2000 * sin(-6 / 8.0 * PI), 360 + RAD_TO_DEG(-22 / 8.0 * PI), 81000 + 29000 * 22 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 53 { 2000 * cos(-7 / 8.0 * PI), 2000 * sin(-7 / 8.0 * PI), 360 + RAD_TO_DEG(-23 / 8.0 * PI), 81000 + 29000 * 23 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 54 { 2000 * cos(-8 / 8.0 * PI), 2000 * sin(-8 / 8.0 * PI), 360 + RAD_TO_DEG(-24 / 8.0 * PI), 81000 + 29000 * 24 / 24, 0, 0, 2 },
ac0314naga 0:c527a14d991a 55 {-2000, -2000, -45, 115000, 0, 0, 2},//-2000 2000 945
ac0314naga 0:c527a14d991a 56 {-2000, -2000, -45, 115700, 0, 0, 2},
ac0314naga 0:c527a14d991a 57 {-2000, -2000, -45, 118000, 0, 1, 2},
TakushimaYukimasa 1:fa3652aca312 58 {-2000, -2000, -180, 119500, 0, 0, 2},
ac0314naga 0:c527a14d991a 59 };
ac0314naga 0:c527a14d991a 60 extern const COORDINATE Target[TargetMAX];
ac0314naga 0:c527a14d991a 61 extern const int TargetMAX;