Repository navigation
Unify object settings in the native spawn configuration - #1406
Closed
cvolkcvolk wants to merge 1 commit into
Closed
cvolkcvolk wants to merge 1 commit into
cvolkcvolk wants to merge 1 commit into
Conversation
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.
Make
Object.spawn_cfgthe source of asset settings used by spawning, geometry queries, and USD export. This is the configuration foundation for the object-set migration.Why this change?
Arena currently stores USD paths, scales, and spawn settings both on
Objectand inobject_cfg.spawn. Editing the native scale can therefore change the simulated object while placement still uses the old dimensions.This PR makes those consumers read the same configuration. It does not change how assets are distributed across environments.
Stack: #1406 → #1407 → #1408. Review this PR against
main.What changes?
Object.spawn_cfgexposesobject_cfg.spawn. Constructor settings populate it once, and supplied configurations are copied.ObjectGeometryderives bounds, contact paths, and collision meshes from that configuration. Geometry updates after configuration changes and uses the rigid body's pose frame.RigidObjectSetand itsMultiUsdFileCfgbackend remain available. These changes also apply to ordinary objects, so this PR has a broader scope than heterogeneous spawning alone.Migration: use
spawn_cfg/object_cfginstead of stored instance settings and addon dictionaries. Subclasses using the removed factory methods must construct their native configuration directly.Before merging independently: the fix for library
.scale/.usd_pathreads currently lives in #1408. It needs to move into this configuration PR when the stack is reorganized.Usage example
For an existing USD-backed object:
Review configuration ownership, then geometry and export.
Validation
Targeted configuration, geometry, scale, export, collision, and reference-helper checks passed. The final consumer batch passed 27 tests.
pre-commit run --all-filespassed.The remote kitchen/reference integration could not open its staging USD. The complete suite was not run.