This repository was archived by the owner on Nov 9, 2022. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathenvironment.xml
More file actions
95 lines (95 loc) · 3.22 KB
/
Copy pathenvironment.xml
File metadata and controls
95 lines (95 loc) · 3.22 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
<environment>
<robot>
<kinbody>
<body name="TRANS_X_LINK">
<!-- This link is fixed at the world origin. -->
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<kinbody>
<body name="TRANS_Y_LINK">
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<kinbody>
<body name="TRANS_Z_LINK">
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<kinbody>
<body name="ROT_R_LINK">
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<kinbody>
<body name="ROT_P_LINK">
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<kinbody>
<body name="ROT_Y_LINK">
<mass type="mimicgeom">
<total>0</total>
</mass>
</body>
</kinbody>
<robot file="model_file.dae" name="model_name"> <!-- update this -->
<kinbody>
<joint name="TRANS_X" type="slider">
<body>TRANS_X_LINK</body>
<body>TRANS_Y_LINK</body>
<axis>1 0 0</axis>
</joint>
<joint name="TRANS_Y" type="slider">
<body>TRANS_Y_LINK</body>
<body>TRANS_Z_LINK</body>
<axis>0 1 0</axis>
</joint>
<joint name="TRANS_Z" type="slider">
<body>TRANS_Z_LINK</body>
<body>ROT_R_LINK</body>
<axis>0 0 1</axis>
</joint>
<joint name="ROT_R" type="hinge" circular="true">
<body>ROT_R_LINK</body>
<body>ROT_P_LINK</body>
<axis>1 0 0</axis>
</joint>
<joint name="ROT_P" type="hinge" circular="true">
<body>ROT_P_LINK</body>
<body>ROT_Y_LINK</body>
<axis>0 1 0</axis>
</joint>
<joint name="ROT_Y" type="hinge" circular="true">
<body>ROT_Y_LINK</body>
<body><!-- name of the root link of your model --></body>
<axis>0 0 1</axis>
</joint>
</kinbody>
</robot>
</robot>
<!--
<kinbody name="floor">
<body type="static">
<translation>0 0 -0.854</translation>
<geom type="box">
<extents>1 1 0.005</extents>
<translation>0 0 0</translation>
<diffuseColor>.4 .4 .4</diffuseColor>
<ambientColor>.2 .2 .2</ambientColor>
<transparency>0.3</transparency>
</geom>
</body>
</kinbody>
-->
</environment>