Skip to content

Xyao/feature/place on articulation link - #1787

Draft
xyao-nv wants to merge 3 commits into
mainfrom
xyao/feature/place-on-articulation-link
Draft

xyao-nv wants to merge 3 commits into
mainfrom
xyao/feature/place-on-articulation-link

Conversation

@xyao-nv

@xyao-nv xyao-nv commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Why this change?

What changes?

Validation

An On relation can now target an ObjectReference without relations of its
own, such as a drawer, tray, pan or turntable link, whose root asset takes
part in placement, anchored or placed by relations. Previously such a
reference had to be anchored at a fixed pose, so the child could not follow
a solved or moved root, and no_overlap rejected the child against the root's
bounding box, which encloses the link.

- PlaceableAsset gains get_placement_root() and
  get_bounding_box_relative_to_placement_root(); ObjectReference returns
  its root asset and the referenced prim's bounds relative to the root's
  origin, at the root's initial joint positions.
- relations/geometry/asset_parts.py finds the placed owner of a relation
  parent and the part's bounds relative to it, turned by the owner's fixed
  quarter-turn heading.
- The solver, the on-tree and anchor initializers, and the on_relation
  validator place the child on the part's bounds at the owner's position.
- The no-overlap loss and validator exempt the child and the owner.
- On and IsAnchor validate the configuration: the parent must take part in
  placement or be part of an asset that does, the owner must keep a fixed
  quarter-turn heading, and a part cannot be anchored while its root moves.

Signed-off-by: Xinjie Yao <[email protected]>
The microwave is placed on the RoboLab oak table by relations, and a cube is
placed on its turntable link through an object reference without relations,
so the cube is randomized on the turntable and moves with the microwave.

An object-control recipe turns the turntable 90 degrees, which carries the
cube along, then closes the door for the CloseDoorTask. The author-environment
placement guide shows the YAML pattern.

Signed-off-by: Xinjie Yao <[email protected]>
Keep the relations page to what the feature does and its limits; the YAML and authoring rules stay in the author-environment skill's placement guide.

Signed-off-by: Xinjie Yao <[email protected]>

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.

1 participant