We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f8221 commit 41a314dCopy full SHA for 41a314d
1 file changed
isaaclab_arena/embodiments/droid/droid.py
@@ -69,8 +69,6 @@ def _stand_unit_height_m(usd_path: str) -> float:
69
70
stage = Usd.Stage.Open(usd_path)
71
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.
74
root_prim = stage.GetDefaultPrim() or stage.GetPseudoRoot()
75
bound = UsdGeom.BBoxCache(Usd.TimeCode.Default(), [UsdGeom.Tokens.default_]).ComputeWorldBound(root_prim)
76
height = bound.ComputeAlignedRange().GetSize()[2]
0 commit comments