Skip to content

Share asset assignment and geometry through Object - #1424

Closed
cvolkcvolk wants to merge 1 commit into
cvolkcvolk/refactor/native-heterogeneous-spawningfrom
cvolkcvolk/refactor/object-asset-resolution
Closed

cvolkcvolk wants to merge 1 commit into
cvolkcvolk/refactor/native-heterogeneous-spawningfrom
cvolkcvolk/refactor/object-asset-resolution

Conversation

@cvolkcvolk

@cvolkcvolk cvolkcvolk commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Move per-environment asset assignment and geometry from RigidObjectSet into Object. Build task contact sensors from the assets' current settings when the builder requests scene configuration.

Why this change?

An ordinary scene object needs the same geometry and assignment support as RigidObjectSet before a build-time variation can choose its asset. Task constructors also currently cache contact-sensor paths before that choice can be resolved.

Build on #1419, which provides native heterogeneous spawning and cloning. This refactor supplies the shared Object behavior for the asset-selection variation in #1425, which is based on this branch.

What changes?

  • Let Object own asset indices, the per-asset geometry cache, per-environment bounds, and validation of shared contact-body paths. RigidObjectSet inherits that behavior and keeps its existing construction API.
  • Preserve the geometry frames used by rigid objects, base assets, and articulations, including singleton and custom bounds.
  • Derive pick-and-place, object-in, and sorting contact sensors in get_scene_cfg() so they follow the current source and destination assets. Collect each composite subtask's scene configuration once per call.

Ordinary Object construction still accepts one concrete asset. Asset-selection variations, recording changes, and removal or renaming of RigidObjectSet are outside this PR.

Validation

41 targeted tests passed on this PR alone: shared Object geometry, task scene configuration, existing object geometry, object sets, and variant assignment. One camera-marked test was excluded from this run.

All repository pre-commit checks passed; staged checks also passed for this refactor and its new tests. Runtime checks used the existing per-process OpenBLAS and Isaac Sim exit settings. The full test suite was not run.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
@cvolkcvolk

Copy link
Copy Markdown
Collaborator Author

Replaced by #1430 (merged). The per-environment assignment on Object is parked in #1454.

@cvolkcvolk cvolkcvolk closed this Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant