1+ <mujoco model =" xarm7 nohand" >
2+ <compiler angle =" radian" autolimits =" true" meshdir =" assets" />
3+
4+ <option integrator =" implicitfast" />
5+
6+ <asset >
7+ <material name =" white" rgba =" 1 1 1 1" />
8+ <material name =" gray" rgba =" 0.753 0.753 0.753 1" />
9+
10+ <mesh file =" link_base.stl" />
11+ <mesh file =" link1.stl" />
12+ <mesh file =" link2.stl" />
13+ <mesh file =" link3.stl" />
14+ <mesh file =" link4.stl" />
15+ <mesh file =" link5.stl" />
16+ <mesh file =" link6.stl" />
17+ <mesh file =" link7.stl" />
18+ <mesh file =" end_tool.stl" />
19+ </asset >
20+
21+ <default >
22+ <default class =" xarm7" >
23+ <geom type =" mesh" material =" white" />
24+ <joint axis =" 0 0 1" armature =" 0.1" range =" -6.28319 6.28319" frictionloss =" 1" />
25+ <general biastype =" affine" ctrlrange =" -6.28319 6.28319" />
26+ <default class =" size1" >
27+ <joint damping =" 10" actuatorgravcomp =" true" />
28+ <general gainprm =" 1500" biasprm =" 0 -1500 -150" forcerange =" -50 50" />
29+ </default >
30+ <default class =" size2" >
31+ <joint damping =" 5" actuatorgravcomp =" true" />
32+ <general gainprm =" 1000" biasprm =" 0 -1000 -100" forcerange =" -30 30" />
33+ </default >
34+ <default class =" size3" >
35+ <joint damping =" 2" actuatorgravcomp =" true" />
36+ <general gainprm =" 800" biasprm =" 0 -800 -80" forcerange =" -20 20" />
37+ </default >
38+ <site size =" 0.001" rgba =" 1 0 0 1" group =" 4" />
39+ </default >
40+ </default >
41+
42+ <worldbody >
43+ <body name =" base" pos =" 0 0 .12" childclass =" xarm7" gravcomp =" 1" >
44+ <inertial pos =" -0.021131 -0.0016302 0.056488" quat =" 0.696843 0.20176 0.10388 0.680376" mass =" 0.88556"
45+ diaginertia =" 0.00382023 0.00335282 0.00167725" />
46+ <geom mesh =" link_base" />
47+ <body name =" link1" pos =" 0 0 0.267" gravcomp =" 1" >
48+ <inertial pos =" -0.0002 0.02905 -0.01233" quat =" 0.978953 -0.202769 -0.00441617 -0.0227264" mass =" 2.382"
49+ diaginertia =" 0.00569127 0.00533384 0.00293865" />
50+ <joint name =" joint1" class =" size1" />
51+ <geom mesh =" link1" />
52+ <body name =" link2" quat =" 1 -1 0 0" gravcomp =" 1" >
53+ <inertial pos =" 0.00022 -0.12856 0.01735" quat =" 0.50198 0.86483 -0.00778841 0.00483285" mass =" 1.869"
54+ diaginertia =" 0.00959898 0.00937717 0.00201315" />
55+ <joint name =" joint2" range =" -2.059 2.0944" class =" size1" />
56+ <geom mesh =" link2" />
57+ <body name =" link3" pos =" 0 -0.293 0" quat =" 1 1 0 0" gravcomp =" 1" >
58+ <inertial pos =" 0.0466 -0.02463 -0.00768" quat =" 0.913819 0.289775 0.281481 -0.0416455" mass =" 1.6383"
59+ diaginertia =" 0.00351721 0.00294089 0.00195868" />
60+ <joint name =" joint3" class =" size2" />
61+ <geom mesh =" link3" />
62+ <body name =" link4" pos =" 0.0525 0 0" quat =" 1 1 0 0" gravcomp =" 1" >
63+ <inertial pos =" 0.07047 -0.11575 0.012" quat =" 0.422108 0.852026 -0.126025 0.282832" mass =" 1.7269"
64+ diaginertia =" 0.00657137 0.00647948 0.00186763" />
65+ <joint name =" joint4" range =" -0.19198 3.927" class =" size2" />
66+ <geom mesh =" link4" />
67+ <body name =" link5" pos =" 0.0775 -0.3425 0" quat =" 1 1 0 0" gravcomp =" 1" >
68+ <inertial pos =" -0.00032 0.01604 -0.026" quat =" 0.999311 -0.0304457 0.000577067 0.0212082" mass =" 1.3203"
69+ diaginertia =" 0.00534729 0.00499076 0.0013489" />
70+ <joint name =" joint5" class =" size2" />
71+ <geom mesh =" link5" />
72+ <body name =" link6" quat =" 1 1 0 0" gravcomp =" 1" >
73+ <inertial pos =" 0.06469 0.03278 0.02141" quat =" -0.217672 0.772419 0.16258 0.574069" mass =" 1.325"
74+ diaginertia =" 0.00245421 0.00221646 0.00107273" />
75+ <joint name =" joint6" range =" -1.69297 3.14159" class =" size3" />
76+ <geom mesh =" link6" />
77+ <body name =" link7" pos =" 0.076 0.097 0" quat =" 1 -1 0 0" gravcomp =" 1" >
78+ <inertial pos =" 0 -0.00677 -0.01098" quat =" 0.487612 0.512088 -0.512088 0.487612" mass =" 0.17"
79+ diaginertia =" 0.000132176 9.3e-05 5.85236e-05" />
80+ <joint name =" joint7" class =" size3" />
81+ <geom material =" gray" mesh =" end_tool" />
82+ <site name =" attachment_site" />
83+ </body >
84+ </body >
85+ </body >
86+ </body >
87+ </body >
88+ </body >
89+ </body >
90+ </body >
91+ </worldbody >
92+
93+ <actuator >
94+ <general name =" act1" joint =" joint1" class =" size1" />
95+ <general name =" act2" joint =" joint2" class =" size1" ctrlrange =" -2.059 2.0944" />
96+ <general name =" act3" joint =" joint3" class =" size2" />
97+ <general name =" act4" joint =" joint4" class =" size2" ctrlrange =" -0.19198 3.927" />
98+ <general name =" act5" joint =" joint5" class =" size2" />
99+ <general name =" act6" joint =" joint6" class =" size3" ctrlrange =" -1.69297 3.14159" />
100+ <general name =" act7" joint =" joint7" class =" size3" />
101+ </actuator >
102+
103+ <keyframe >
104+ <key name =" home" qpos =" 0 -.247 0 .909 0 1.15644 0" ctrl =" 0 -.247 0 .909 0 1.15644 0" />
105+ </keyframe >
106+ </mujoco >
0 commit comments