Add hfield. Fixes #1655 #1491 #1695

PiperOrigin-RevId: 638447127
Change-Id: Ib1e5020a8407bc100145a6b382e985c03dd4a848
This commit is contained in:
Baruch Tabanpour
2024-05-29 16:20:27 -07:00
committed by Copybara-Service
parent dec55b59fa
commit c511d02265
13 changed files with 604 additions and 106 deletions
@@ -77,6 +77,7 @@
</custom>
<asset>
<hfield name="rand_uniform" file="hfield_240_280.png" size="20.1 20.0 .05 .1"/>
<mesh file="head.stl"/>
<mesh file="powercable.stl"/>
<mesh file="handle.stl"/>
@@ -101,7 +102,8 @@
<site name="origin"/>
<light pos="0 0 1.5" dir="0 0 -1" directional="true"/>
<camera name="default" pos="0.846 -1.465 0.916" xyaxes="0.866 0.500 0.000 -0.171 0.296 0.940"/>
<geom name="floor" size="0 0 0.05" type="plane" conaffinity="1" material="groundplane"/>
<geom name="hfield_floor" type="hfield" hfield="rand_uniform" conaffinity="1"/>
<!-- <geom name="floor" pos="0 0 -0.05" size="0 0 0.05" type="plane" conaffinity="1" material="groundplane"/> -->
<body name="chassis">
<camera name="track" pos="0.846 -1.465 0.916" xyaxes="0.866 0.500 0.000 -0.171 0.296 0.940" mode="trackcom"/>
<freejoint/>
Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB