[87e8bf]: / myosuite / envs / myo / assets / hand / myohand_sar.xml

Download this file

57 lines (43 with data), 3.7 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
<mujoco model="reorient task">
<!-- =================================================
Model :: MyoHand (MuJoCoV2.0)
Authors :: Cameron Berg (cameronberg@meta.com), Vikash Kumar (vikashplus@gmail.com), Vittorio Caggiano (caggiano@gmail.com)
source :: https://github.com/vikashplus
License :: Under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
====================================================== -->
<include file="../../../../simhive/myo_sim/hand/assets/myohand_assets.xml"/>
<include file="../../../../simhive/myo_sim/scene/myosuite_scene.xml"/>
<compiler meshdir='../../../../simhive/myo_sim/' texturedir='../../../../simhive/myo_sim/'/>
<default>
<default class="reorient">
<geom contype="1" conaffinity="1" condim="3" material="MatSkin"/>
<site group="3"/>
</default>
</default>
<worldbody>
<include file="../../../../simhive/myo_sim/hand/assets/myohand_body.xml"/>
<camera name='front' pos="-.072 -1.230 1.6" euler='1.35 0 0'/>
<site name="eps_ball" type="sphere" pos="-.248 -.532 1.445" size="0.08" rgba="1 1 0 0" group="1"/>
<body childclass="reorient" name="Object" pos="-.248 -.532 1.450" user="1001 0 2003 27 0 0 0.06 0 0" euler="0 1.27 0">
<joint name="OBJTx" pos="0 0 0" axis="1 0 0" type="slide" limited="false" damping="0" />
<joint name="OBJTy" pos="0 0 0" axis="0 1 0" type="slide" limited="false" damping="0" />
<joint name="OBJTz" pos="0 0 0" axis="0 0 1" type="slide" limited="false" damping="0" />
<joint name="OBJRx" pos="0 0 0" axis="1 0 0" limited="false" damping="0" />
<joint name="OBJRy" pos="0 0 0" axis="0 1 0" limited="false" damping="0" />
<joint name="OBJRz" pos="0 0 0" axis="0 0 1" limited="false" damping="0" />
<geom name="obj" type="ellipsoid" size="0.015 0.015 0.045" condim="4" rgba=".6 .6 .6 .6" density="1500"/>
<geom name="top" type="cylinder" size="0.013 0.002" condim="4" pos="0 0 -.035" rgba="0 .5 1 0" contype="0" conaffinity="0"/>
<geom name="bot" type="cylinder" size="0.013 0.002" pos="0 0 0.035" rgba="0 .5 1 0" contype="0" conaffinity="0"/>
<site name="object_top" type="sphere" size="0.005" rgba="0.8 0.2 0.2 1" pos="0 0 0.065" />
<site name="object_bottom" type="sphere" size="0.005" rgba="0.2 0.8 0.2 1" pos="0 0 -0.065" />
</body>
<site name="success" type="sphere" pos="-.248 -.54 1.650" size="0.07" rgba="1 1 0 .1" group="1"/>
<body childclass="reorient" name="target" pos="-.248 -.54 1.650" euler="0 1.27 0">
<site name="target_top" type="sphere" size="0.005" rgba="0.8 0.2 0.2 1" pos="0 0 0.065" />
<site name="target_bottom" type="sphere" size="0.005" rgba="0.2 0.8 0.2 1" pos="0 0 -0.065" />
<geom name="target" type="ellipsoid" size="0.015 0.015 0.045" condim="4" rgba=".6 .6 .6 .6" />
<geom name="t_top" type="cylinder" size="0.013 0.002" condim="4" pos="0 0 -.035" rgba="0 1 .5 0" contype="0" conaffinity="0"/>
<geom name="t_bot" type="cylinder" size="0.013 0.002" pos="0 0 0.035" rgba="0 1 .5 0" contype="0" conaffinity="0"/>
</body>
</worldbody>
</mujoco>