-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScaraconfig.json
More file actions
131 lines (128 loc) · 2.5 KB
/
Scaraconfig.json
File metadata and controls
131 lines (128 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"link": [
{
"fileName": "scara/buttom.stl",
"type": "base",
"color": {
"r": 53,
"g": 92,
"b": 168
},
"DHParametes": {
"alpha": 0,
"A": 0,
"theta": 0,
"D": 0
},
"RANGE": {
"min": 0,
"max": 0
}
},
{
"fileName": "scara/linkone.stl",
"type": "rotating",
"color": {
"r": 0,
"g": 182,
"b": 193
},
"DHParametes": {
"A": 0,
"alpha": 0,
"D": 0,
"theta": 0
},
"RANGE": {
"min": -180,
"max": 180
}
},
{
"fileName": "scara/linktwo.stl",
"type": "rotating",
"color": {
"r": 1,
"g": 188,
"b": 143
},
"DHParametes": {
"A": 250,
"alpha": 0,
"D": 305,
"theta": 0
},
"RANGE": {
"min": -150,
"max": 150
}
},
{
"fileName": "scara/linkthree.stl",
"type": "translation",
"color": {
"r": 154,
"g": 66,
"b": 150
},
"DHParametes": {
"A": 270,
"alpha": 180,
"D": 0,
"theta": 0
},
"RANGE": {
"min": -175,
"max": 0
}
},
{
"fileName": "scara/linkfour.stl",
"type": "rotating",
"color": {
"r": 230,
"g": 140,
"b": 226
},
"DHParametes": {
"A": 0,
"alpha": 0,
"D": 205,
"theta": 0
},
"RANGE": {
"min": -180,
"max": 180
}
}
],
"RobotName": "Scara",
"inversefun":"inverse_kinematics_Scara",
"axis":{
"xmax":500,
"xmin":-500,
"ymax":500,
"ymin":-500,
"zmax":400,
"zmin":0
},
"defaultView":{
"AZ":128,
"EI":13
}
}
// 里面配置每一个文件名对应的参数
// 1.名称
// 2.转动/移动/基座
// 3.颜色
// 3.DH参数表
// 4.运动极限值
// -->
// <!-- DH参数表
// A alpha D theta RANGE
// linkone 0 0 d1 theta 0~360
// linktwo L1 0 40 theta 0~360
// linktree L2 0 d 0 -215~0
// linkfour 0 0 215 theta 0~360
// 其中 d1=285 L1=250 L2=270
//其中并非是构造DH参数。