Repository navigation
Use MultiAssetSpawnerCfg for rigid object sets - #1407
Closed
cvolkcvolk wants to merge 2 commits into
Closed
cvolkcvolk wants to merge 2 commits into
cvolkcvolk wants to merge 2 commits into
Conversation
Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Signed-off-by: Clemens Volk <cvolk@nvidia.com>
This was referenced Oct 8, 2026
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.
Superseded by smaller draft PRs with separate review scopes:
The complete seven-PR review order is in #1415. The original branch and commits remain available.
Switch
RigidObjectSetfromMultiUsdFileCfgtoMultiAssetSpawnerCfg. Preserve each member's native settings and use the same asset assignment for placement and Isaac Lab cloning.Why this change?
RigidObjectSetalready uses Isaac Lab spawning, but Arena expands member USD paths into one entry per environment and bakes scales into prepared USDs. Different scales can require rewritten assets even when their body hierarchies match.MultiAssetSpawnerCfgretains a separate native configuration for each member. Arena still assigns members before placement and prepares incompatible rigid-body hierarchies.Stack: #1406 → #1407 → #1408. Review this PR against #1406. The Python class remains
RigidObjectSet, and YAML still usesobject_sets.What changes?
The main review invariant is: the asset used for placement must be the asset spawned in that environment. Review assignment and cloning, set construction, and USD preparation.
Behavior changes: heterogeneous bounds must be requested per environment; a different assignment or environment count requires a new set. Random choices are seeded by object name and can differ from previous results. Nested multi-spawners and custom member bounds are rejected. Fixed heterogeneous obstacles require
IsAnchor. Native clone combinations and additional unassigned heterogeneous scene entries are rejected when Arena controls assignment.Usage example
For direct placement callers;
ArenaEnvBuilderdoes this automatically:The result now contains the selected member's bounds for each environment.
Validation
Completed runs passed 14 mass/clutter/native-scene tests, 37 assignment/bounds/set/conversion tests, 1 robot-camera test, and 2 preview/collision tests. USD-preparation checks also passed. These batches overlap and are not a unique-test total.
pre-commit run --all-filespassed.An earlier run hit a USD/Kit import-order error; completed simulation runs passed in fresh processes after deferring native imports. The complete suite and the remote-asset/video-preview paths noted in the stack remain unverified.