Change row-flipping logic for heightfields.
Move row-flipping logic from `mjCModel::CopyBack` to `mjXWriter`. PiperOrigin-RevId: 842220322 Change-Id: I6fb09db6c9e8689f6e435f82f58dd3e7c4314478
This commit is contained in:
committed by
Copybara-Service
parent
925c533580
commit
c064abc3da
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
<mujoco>
|
||||
|
||||
<asset>
|
||||
<hfield name="hfield" nrow="5" ncol="5" size=".8 .8 .8 .3"
|
||||
elevation="1 0 1 1 0
|
||||
0 1 1 0 1
|
||||
1 .5 1 0 1
|
||||
0 1 0 0 1
|
||||
0 1 0 0 1"/>
|
||||
</asset>
|
||||
|
||||
<include file="ray_swing.xml"/>
|
||||
|
||||
<worldbody>
|
||||
<body pos="-.5 .002 0" euler="10 50 -40" mocap="true">
|
||||
<geom type="hfield" hfield="hfield"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user