Expand support for heterogeneous objects in arena#401
Open
alexmillane wants to merge 6 commits intomainfrom
Open
Expand support for heterogeneous objects in arena#401alexmillane wants to merge 6 commits intomainfrom
alexmillane wants to merge 6 commits intomainfrom
Conversation
cvolkcvolk
reviewed
Feb 9, 2026
| raise ValueError(f"Error: Could not open USD file at {usd_path}") | ||
| return find_shallowest_rigid_body_from_stage(stage, relative_to_root) | ||
|
|
||
| # Get all the rigid body prim paths |
cvolkcvolk
reviewed
Feb 9, 2026
| depths = self._get_all_rigid_body_depths(objects) | ||
| return all(depth == depths[0] for depth in depths) | ||
|
|
||
| def _get_all_rigid_body_depths(self, objects: list[Object]) -> list[str]: |
cvolkcvolk
reviewed
Feb 9, 2026
| yaw_rad = math.radians(-111.55) | ||
| # Note (xinjieyao, 2026.02.04): prim path of object set has not been resolved yet, will be fixed in the future. | ||
| assert args_cli.object_set is None, "Object set is not supported yet" | ||
| # assert args_cli.object_set is None, "Object set is not supported yet" |
Collaborator
There was a problem hiding this comment.
Remove the assert(-comment)?
cvolkcvolk
reviewed
Feb 9, 2026
| # Isaac Lab support for MultiUsdFileCfg is limited. It applies the same scale and pose to all objects. | ||
| # Furthermore it relies on the rigid body being at the root of the USD file, or at the same | ||
| # path in all files. To expand our support in Arena, we modify the USDs to be compatible with each other. | ||
| # In particular, we rescale the assets and rename the rigid bodies to have the same name. We |
Collaborator
There was a problem hiding this comment.
Suggested change
| # In particular, we rescale the assets and rename the rigid bodies to have the same name. We | |
| # In particular, we rescale the assets and rename the rigid bodies to have the same name. |
cvolkcvolk
reviewed
Feb 9, 2026
| # Furthermore it relies on the rigid body being at the root of the USD file, or at the same | ||
| # path in all files. To expand our support in Arena, we modify the USDs to be compatible with each other. | ||
| # In particular, we rescale the assets and rename the rigid bodies to have the same name. We | ||
| # Save the resulting modified USDs to a cache. |
Collaborator
There was a problem hiding this comment.
Suggested change
| # Save the resulting modified USDs to a cache. | |
| # We save the resulting modified USDs to a cache. |
cvolkcvolk
approved these changes
Feb 9, 2026
Collaborator
cvolkcvolk
left a comment
There was a problem hiding this comment.
Thanks for fixing! lgtm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expand support for heterogeneous objects in Arena
Detailed description
MultiUsdFileCfgwith a single scale and who have their rigid bodies either at the root or at the same path.