Skip to content

Rename the Maple-table destination to destination_object - #1530

Open
cvolkcvolk wants to merge 7 commits into
mainfrom
cvolkcvolk/refactor/object-swaps-via-asset-selection
Open

cvolkcvolk wants to merge 7 commits into
mainfrom
cvolkcvolk/refactor/object-swaps-via-asset-selection

Conversation

@cvolkcvolk

@cvolkcvolk cvolkcvolk commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Rename the Maple-table environment's destination_location option and scene object to destination_object, and correct how the first-experiment page describes swap_objects.

Why this change?

The Maple-table bowl is a standalone object, but its option and scene name were destination_location, so its asset selection read as destination_location.asset_selection.

Since #1458, swap_objects builds the scene once per pick-up object, but the first-experiment page still said every Run runs one episode in one environment.

What changes?

  • PickAndPlaceMapleTableEnvironmentCfg.destination_location is now destination_object. This renames the CLI flag, the Experiment YAML and eval jobs JSON keys, the scene object and its variation keys.
  • The first-experiment page and the run-experiment skill say that swap_objects builds one environment per pick-up object.

Breaking: the old destination_location flag and keys are rejected, and recorded variation samples with destination_location.* keys no longer replay.

Usage example

Before:

--destination_location wooden_bowl_hot3d_robolab destination_location.mass.enabled=true

After:

--destination_object wooden_bowl_hot3d_robolab destination_object.mass.enabled=true

Validation

  • Pre-commit and the 45 config tests in test_experiment_hydra.py and test_arena_experiment_config_loader.py pass locally.
  • The simulator tests, including test_task_objects_are_named_by_role, did not run locally: the local image has Isaac Sim 6.1, where Isaac Lab 3.0 cannot import isaaclab.sim. They run in CI.

@cvolkcvolk cvolkcvolk changed the title Use destination_object and asset selection in the Maple-table quickstart Rename the Maple-table destination to destination_object Oct 26, 2026
PickAndPlaceMapleTableEnvironment named its destination bowl after the
PickAndPlaceTask parameter it fills, destination_location. The bowl is
a standalone object, and a selection on it read as
destination_location.asset_selection, the asset a location spawns.
PickAndPlaceTask keeps destination_location for the place an object
ends up, which can be part of another asset, such as a refrigerator
shelf.

The environment field is now destination_object, and with it the
--destination_object flag, the environment.destination_object key of
experiment YAMLs and the arena_env_args key of eval jobs JSON. The
scene object and its variation keys are named destination_object, so
records keyed destination_location.* no longer replay.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
swap_objects selected its pick-up objects but still replaced the bowl
through the environment's destination_object field. It now selects the
wooden bowl too, so the Run swaps both objects the same way. With one
name in the list, every build of the Run spawns the wooden bowl.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
The first-environment page swapped the Rubik's cube and bowl with the
--pick_up_object and --destination_object flags, while the
getting-started Experiment swaps them with asset selection. The page
now uses the same pick_up_object.asset_selection and
destination_object.asset_selection overrides. Its reference and
background commands, and the Experiment's shared settings, no longer
restate the default objects, so the two pages choose objects one way.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Since swap_objects builds the scene once for each of its three pick-up
objects and runs three episodes, the page no longer matched the
Experiment: it said every Run has a one-episode limit and builds one
environment. It now names the swap_objects exception in both places.
The run-experiment skill said each Run builds one fresh environment and
now mentions num_rebuilds.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
The variations page said rebuild k spawns the k-th name of
registry_names. The swap_objects Run it links to now lists one
destination for three rebuilds, which works only because the list
starts over after its last name (SequentialSampler takes the index
modulo the list length). The page now says so.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
swap_objects selected the wooden bowl with a one-name
destination_object.asset_selection list, which spawned it in every
build only because in-order selection starts over after the last name.
The Run sets the bowl with environment.destination_object again and
keeps selection for its three pick-up objects, so it shows the field
for one fixed object and selection for several. The shared settings
list the default objects again, so the Run shows what it changes, and
the variations page no longer needs the note about the list starting
over.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
The first-environment page swapped its objects with one-name
pick_up_object.asset_selection and destination_object.asset_selection
lists. For one fixed object the --pick_up_object and
--destination_object flags say the same thing in one token each, and
the swap_objects Run sets its fixed bowl with the field too. The page
uses the flags again, and its reference and background commands state
the default objects again, so it differs from before only in the flag
name.

Signed-off-by: Clemens Volk <cvolk@nvidia.com>
@cvolkcvolk
cvolkcvolk force-pushed the cvolkcvolk/refactor/object-swaps-via-asset-selection branch from c381b80 to d3d83aa Compare October 26, 2026 14:23
@cvolkcvolk
cvolkcvolk changed the base branch from cvolkcvolk/feature/asset-selection-per-build to main October 26, 2026 14:23
@cvolkcvolk
cvolkcvolk marked this pull request as ready for review October 26, 2026 14:23
@greptile-apps

greptile-apps Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge with its stated breaking changes.

Summary

Renames the Maple-table config field and scene object to destination_object, while keeping the task parameter destination_location.

  • Maple-table bowl settings now use destination_object.
  • Experiment guides explain that rebuilds create another environment.

Reviews (1) · Last reviewed commit: "Swap the quickstart objects with the env..." · Reviewed by Greptile

task = PickAndPlaceTask(
pick_up_object=pick_up_object,
destination_location=destination_location,
destination_location=destination_object,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Also pass the bowl as destination_object?

PickAndPlaceTask has its own destination_object parameter: the asset the default Mimic config uses (pick_and_place_task.py:71, documented at :53). After this rename, the env calls the bowl destination_object, but task.destination_object is still None, so the same name now means two different things here. It also means Mimic mode with franka_ik fails at self.destination_object.name (pick_and_place_task.py:150). That failure predates this PR. The bowl is both the placement target and the object, so could we pass it to both?

Suggested change
destination_location=destination_object,
destination_location=destination_object,
destination_object=destination_object,

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR renames the Maple-table environment's destination_location option and its bowl scene object to destination_object. It updates the configs, docs, and tests that set it, and corrects the first-experiment page and the run-experiment skill for the three builds in swap_objects. The rename looks complete, and the description calls out the breaking change. I have one small question: the env's new name overlaps with PickAndPlaceTask's own destination_object parameter.

Findings

🔵 Improvement: isaaclab_arena_environments/pick_and_place_maple_table_environment.py:106: the env now calls the bowl destination_object, but task.destination_object stays None. In this env the bowl is both the placement target and the object, so it could be passed as both destination_location= and destination_object=. This would also fix an existing Mimic-mode failure in this env. Details are in the inline comment.

Test Coverage and CI Cost

I couldn't confirm that the renamed scene key works at runtime. test_task_objects_are_named_by_role is the only test that checks it, and it needs isaaclab.sim. The PR says it didn't run locally. On d3d83aa, the CI Run tests and Run tests with subprocess jobs show as skipped, and pre-commit was still running when I checked. Please make sure those jobs run before merging.

Verdict

Ship it

@qianl-nv qianl-nv left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for the fix~
Though having both destination location and destination object in the pick and place task API seems fairly confusing. should we consider renaming destination_location?

@alexmillane alexmillane left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cvolkcvolk

Copy link
Copy Markdown
Collaborator Author

@qianl-nv looks like destination_object is only used for/ by Mimic. I think we should just remove it together with the deprecation of mimic then

This branch has not been deployed

No deployments
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.

3 participants