facebookresearch / habitat-lab

A modular high-level library to train embodied AI agents across a variety of tasks and environments.
https://aihabitat.org/
MIT License
1.93k stars 481 forks source link

refactor snap_down support_surface setup for AO links #1946

Closed aclegg3 closed 4 months ago

aclegg3 commented 4 months ago

Motivation and Context

This PR refactors support_surface_id setup for ObjectSampler's use of snap_down function for Receptacles attached to articulated links. Previously, the code would allow snapping to the link or the body. Instead, only snapping to the link should be allowed.

How Has This Been Tested

CI

Types of changes

Checklist