-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update stretch to work with mujoco 3.3.0.
- Loading branch information
1 parent
f80ecf9
commit 340436b
Showing
5 changed files
with
658 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<mujoco model="stretch scene"> | ||
<include file="stretch_33.xml"/> | ||
|
||
<statistic center="0 0 .75" extent="1.2" meansize="0.05"/> | ||
|
||
<visual> | ||
<headlight diffuse="0.6 0.6 0.6" ambient="0.3 0.3 0.3" specular="0 0 0"/> | ||
<rgba haze="0.15 0.25 0.35 1"/> | ||
<global azimuth="-120" elevation="-20"/> | ||
</visual> | ||
|
||
<asset> | ||
<material name="floor" rgba=".1 .1 .1 1" reflectance="0.1"/> | ||
<texture type="2d" name="wood" file="wood.png"/> | ||
<material name="wood" texture="wood"/> | ||
<material name="object" rgba=".2 .2 .2 1"/> | ||
<texture type="skybox" builtin="gradient" rgb1="0.44 0.80 1.00" rgb2="1 1 1" width="512" height="3072"/> | ||
</asset> | ||
|
||
<worldbody> | ||
<light pos="0 0 1.5" dir="0 0 -1" directional="true"/> | ||
<geom name="floor" size="0 0 0.05" type="plane" material="floor"/> | ||
<!-- <body name="table" pos="0 -1 .24"> | ||
<geom type="box" size=".6 .5 .24" mass="1" material="wood"/> | ||
</body> --> | ||
<!-- <body name="object1" pos="-.02 -0.55 .6"> | ||
<freejoint/> | ||
<geom type="box" size=".02 .04 .04" mass=".5" rgba=".2 .2 .5 1"/> | ||
</body> --> | ||
<!-- <body name="object2" pos=".08 -0.55 .6"> | ||
<freejoint/> | ||
<geom type="cylinder" size=".02 .04 .04" mass=".5" rgba=".8 .2 .2 1"/> | ||
</body> --> | ||
<body name="base_target" pos="0.5 0 .5" mocap="true"> | ||
<geom type="sphere" size=".08" contype="0" conaffinity="0" rgba=".6 .3 .3 .2"/> | ||
<site type="sphere" size="0.01" rgba="0 0 1 1" group="1"/> | ||
</body> | ||
<body name="EE_target" pos="0.5 0 .5" quat="0 1 0 0" mocap="true"> | ||
<geom type="box" size=".05 .05 .05" contype="0" conaffinity="0" rgba=".6 .3 .3 .2"/> | ||
<site type="sphere" size="0.01" rgba="0 0 1 1" group="1"/> | ||
</body> | ||
</worldbody> | ||
</mujoco> |
Oops, something went wrong.