Skip to content

Commit 41a314d

Browse files
committed
auto adjustr
1 parent 35f8221 commit 41a314d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • isaaclab_arena/embodiments/droid

isaaclab_arena/embodiments/droid/droid.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ def _stand_unit_height_m(usd_path: str) -> float:
6969

7070
stage = Usd.Stage.Open(usd_path)
7171
assert stage is not None, f"could not open stand USD: {usd_path}"
72-
# Bound the asset's default prim (its geometry root), not the pseudo-root, so stray stage
73-
# prims (lights, cameras, guides) can't inflate the measured height.
7472
root_prim = stage.GetDefaultPrim() or stage.GetPseudoRoot()
7573
bound = UsdGeom.BBoxCache(Usd.TimeCode.Default(), [UsdGeom.Tokens.default_]).ComputeWorldBound(root_prim)
7674
height = bound.ComputeAlignedRange().GetSize()[2]

0 commit comments

Comments
 (0)