Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangGiang93 committed Aug 23, 2024
1 parent 9d50aa2 commit 72b7105
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def validate_visual_collision(self, importer, input_path, fixed_base, with_physi
inertia_sources = [InertiaSource.FROM_SRC, InertiaSource.FROM_VISUAL_MESH, InertiaSource.FROM_COLLISION_MESH,
InertiaSource.FROM_SRC]

for i in range(1):
for i in range(4):
factory = importer(file_path=input_path,
fixed_base=fixed_base,
with_physics=with_physics,
Expand Down Expand Up @@ -172,13 +172,6 @@ def test_usd_to_usd_furniture(self):
self.validate_visual_collision(UsdImporter, input_usd_path, fixed_base=True, with_physics=False,
add_xform_for_each_geom=True)

def test_usd_to_usd_apartment(self):
input_usd_path = "/home/giangnguyen/Downloads/house_models/train_5/World.usda"
self.validate_visual_collision(UsdImporter, input_usd_path, fixed_base=True, with_physics=True,
add_xform_for_each_geom=False)
# self.validate_visual_collision(UsdImporter, input_usd_path, fixed_base=True, with_physics=False,
# add_xform_for_each_geom=True)


class MjcfToUsdTestCase(MultiverseImporterTestCase):
output_dir = "test_mjcf_to_usd"
Expand Down

0 comments on commit 72b7105

Please sign in to comment.