Skip to content

Commit 3022238

Browse files
committed
Update test_usd.py
1 parent b713626 commit 3022238

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_usd.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,10 @@ def test_primitives_mjcf_vs_usd(xml_path, all_primitives_usd, scale, tol):
473473
"""Test that MJCF and USD scenes produce equivalent Genesis entities."""
474474
mjcf_scene = build_mjcf_scene(xml_path, scale=scale)
475475
usd_scene = build_usd_scene(all_primitives_usd, scale=scale)
476-
# TODO: Now parsed primitives have the same geometry for both visual and collision meshes
477-
# which is different from the how we parsed in MJCF.
476+
# FIXME: Now parsed primitives have the same geometry for both visual and collision meshes
477+
# which is different from how we parsed in MJCF.
478+
# Additionally, in MuJoCo, primitives' masses are computed directly from their analytical
479+
# parameters rather than using the actual mesh volume. This should be considered in USD and URDF parsing.
478480
compare_scene(mjcf_scene, usd_scene, tol=tol, strict=False)
479481

480482

0 commit comments

Comments
 (0)