Welding0D.world
Go to the documentation of this file.
1 
3 [constants]
4  l1:=1
5  l2:=1
6  l3:=1
7  x:=0.25
8  y:=0.75
9  theta:=pi/2
10 
11 [links]
12  ground: body "bodies/beam.off" blue
13  link1: body "bodies/link1.off" grey
14  sphere 0.04 (0,0,0) black
15  sphere 0.04 (l1,0,0.05) black
16  link2: body "bodies/link2.off" grey
17  sphere 0.04 (l1,0,0.1) black
18  link3: body "bodies/link3.off" grey
19  body "bodies/gripper.off" black
20  % now some artistic representation of the welding tool
21  cylinder 0.03 (l3,0,0.1) (l3+0.2,0,0.1) white
22  sphere 0.03 (l3+0.2,0,0.1) white
23  cylinder 0.02 (l3+0.1,0,0.1) (l3+0.3,0,0.1) black decoration
24  sphere 0.02 (l3+0.3,0,0.1) red decoration
25 
26 [joints]
27  revolute: ground (0,0,0) (0,0,1)
28  link1 (0,0,0) (0,0,1)
29  revolute: link1 (l1,0,0) (l1,0,1)
30  link2 (0,0,0) (0,0,1)
31  revolute: link2 (l2,0,0) (l2,0,1)
32  link3 (0,0,0) (0,0,1)
33  fix: ground link3
34  Tx(x)*Ty(y)*Rz(theta)
35 
36