You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
I want to mirror the mesh in Gezebo. I use <scale>1 1 -1</scale> to mirror along the Z-axis. In theory, similar to MuJoCo, the mesh should be mirrored for both the visual and collision components.
Actual behavior:
Mirroring the visual component works, but the outer and inner surfaces are swapped. Mirroring the collision component results in an error.
Steps to Reproduce
Create an SDF file with the following content and name it test_mirror.sdf:
the mesh class just applies simple scaling to vertices. To handle negative scale, I think we'll need to invert the normals, e.g. by updating the indices
Environment
Description
Expected behavior:
I want to mirror the mesh in Gezebo. I use
<scale>1 1 -1</scale>
to mirror along the Z-axis. In theory, similar to MuJoCo, the mesh should be mirrored for both thevisual
andcollision
components.Actual behavior:
Mirroring the visual component works, but the outer and inner surfaces are swapped. Mirroring the collision component results in an error.
Steps to Reproduce
test_mirror.sdf
:cube_test.zip
Output
Found that outer and inner surfaces are swapped.
Note
I noticed that the error message mentioned Dart, so I tested
<physics name='1ms' type='ode'>
and , but nothing changed.The text was updated successfully, but these errors were encountered: