[20044c]: / scene / myosuite_quad.xml

Download this file

58 lines (49 with data), 3.6 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
<?xml version="1.0" encoding="utf-8"?>
<mujoco model="myoquad_scene">
<!-- =================================================
Copyright 2023 MyoSuite
Model :: Myo Quad (MuJoCoV2.7)
Author :: Vikash Kumar (vikashplus@gmail.com), Vittorio Caggiano, Pierre Schumahchar, Chun Kwang Tan
source :: https://github.com/MyoHub/MyoSuite
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.
====================================================== -©vk©-->
<compiler angle="radian" meshdir=".." texturedir=".."/>
<asset>
<!-- Scene -©vk©-->
<texture name="textscene" type="2d" file="../myo_sim/scene/myosuite_scene.png"/>
<material name="matscene" texture="textscene"/>
<mesh name="meshscene" file="../myo_sim/scene/myosuite_scene_noFloor.msh" scale=".01 .01 .01"/>
<!-- Floor -©vk©-->
<texture name="texfloor" type="2d" height="1" width="1" file="../myo_sim/scene/floor0.png"/>
<material name="matfloor" reflectance="0.01" texture="texfloor" texrepeat="1 1" texuniform="true"/>
<!-- Logo -©vk©-->
<texture name="textlogo" type="2d" file="../myo_sim/scene/myosuite_logo.png"/>
<mesh name="logo" file="../myo_sim/scene/myosuite_logo.msh" scale="2 2 2"/>
<material name="matlogo" texture="textlogo"/>
<!-- Fense -©vk©-->
<mesh name="pyramid" vertex="0 6 0 0 -6 0 0.5 6 0 0.5 -6 0 0.5 6 0.5 0.5 -6 0.5"/>
<mesh name="corner" vertex="0 0 0 0 -0.5 0 0.5 -0.5 0 0.5 0 0 0.5 0 0.5 0.5 -0.5 0.5 0 -0.5 0.5"/>
<material name="fence" rgba="0.27 0.25 0.25 1"/>
</asset>
<statistic extent="6" center="0 -1 1"/>
<visual>
<map fogstart="10" fogend="40" force="10" />
<scale light=".25" framewidth=".005"/>
<headlight ambient=".5 .5 .5" diffuse="0.50 0.50 0.50" specular="0.50 0.50 0.50"/>
<global elevation="-15"/>
</visual>
<worldbody>
<light directional="true" diffuse=".5 .5 .5" specular="0.25 0.25 0.25" pos="0 -3 3" dir="0 1 -1" mode="fixed" castshadow="false"/>
<camera name="topview" pos="0 -10.5 10" euler="+0.8 0 0" mode="fixed"/>
<geom name="ground" type="plane" size="6 6 0.1" rgba="1 1 1 1" material="matfloor" />
<geom name="fence1" type="mesh" mesh="pyramid" pos="-6.00 0 0.0" euler="0 0 3.14" material="fence"/>
<geom name="fence2" type="mesh" mesh="pyramid" pos="6.00 0 0.0" euler="0 0 0" material="fence"/>
<geom name="fence3" type="mesh" mesh="pyramid" pos="0 6.00 0.0" euler="0 0 1.57" material="fence"/>
<geom name="fence4" type="mesh" mesh="pyramid" pos="0 -6.0 0.0" euler="0 0 -1.57" material="fence"/>
<geom name="corner1" type="mesh" mesh="corner" pos="-6.0 -6.0 0" euler="0 0 -1.57" material="fence"/>
<geom name="corner2" type="mesh" mesh="corner" pos="6.0 -6.0 0" euler="0 0 0" material="fence"/>
<geom name="corner3" type="mesh" mesh="corner" pos="6.0 6.0 0" euler="0 0 +1.57" material="fence"/>
<geom name="corner4" type="mesh" mesh="corner" pos="-6.0 6.0 0" euler="0 0 3.14" material="fence"/>
<geom type="mesh" mesh="logo" material="matlogo" group="2" conaffinity="0" contype="0" euler="1.57 0 0" pos="0 6.95 2.1"/>
</worldbody>
</mujoco>