Repository navigation
Replace RigidObjectSet with native object variants - #1405
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 three dependent draft PRs:
RigidObjectSetand migrate Python, YAML, GUI, and documentation.The replacement uses native configurations as variants and removes the proposed public
ObjectVariantdescriptor. Review and merge the drafts in the order above. The original implementation remains below for reference.Replace
RigidObjectSetwithObjectvariants backed by Isaac Lab's nativeMultiAssetSpawnerCfgand scene clone planning. Separate variant definitions, environment assignment, and USD hierarchy preparation, and migrate the Python, YAML, CLI, and review GUI callers.Why this change?
RigidObjectSetcombined scene identity, variant selection, placement geometry, and asset rewriting. Isaac Lab now supports distinct native spawn configurations across environments, including per-variant scale and physics settings.What changes?
Objectrepresent a task role with multipleObjectVariantdefinitions. Relations, resets, and contact sensors address that role.Breaking migrations:
RigidObjectSet(objects=...)withObject(variants=...), usingas_variant()for existing concrete assets.object_sets[].memberswithobjects[].variants. Each variant declaresregistry_nameand optional constructorparams.object_setand CLI--object_settoobject_variantsand--object_variants.Each alternative must contain one rigid body. Assignments remain fixed for the object's lifetime; a different assignment or environment count requires a new object. Heterogeneous placement uses per-environment AABBs even in mesh mode, and fixed heterogeneous obstacles require
IsAnchor()plus a known pose. Offline recording, cached replay, clutter collection, and scene export require concrete variants.Usage example
Before:
After:
ArenaEnvBuilderrepeats declaration order by default.random_choice=Truesamples independently per environment.as_variant()copies native spawn configuration and explicit geometry overrides; the newObjectowns the name, pose, and relations.Validation
Passing targeted checks:
pre-commit run --all-files.The full repository test suite was not run. GUI preview validation hit an existing recording incompatibility: the pinned Isaac Lab returns
Noneforrender_mode="rgb_array", so the current GymRecordVideointegration produces no frames. The preview child stalled during cleanup and was terminated. The shared video integration needs a separate migration to native video recorders.