Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use receptacle unique name for dictionary key #1782

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

aclegg3
Copy link
Contributor

@aclegg3 aclegg3 commented Jan 30, 2024

Motivation and Context

Multiple Receptacles in a scene may have the same name, instead unique_name should be used to refer to specific Receptacle instances.

Specifically, whenever an object with a Receptacle annotation is instantiated multiple times in a scene, all Receptacles for that object will have the same name.

TODO: there may be ramifications to this change which needs to be addressed.

How Has This Been Tested

TODO:

Types of changes

  • [Refactoring] Large changes to the code that improve its functionality or performance
  • [Bug Fix] (non-breaking change which fixes an issue)

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation if required.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes if required.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 30, 2024
Copy link
Contributor

@jimmytyyang jimmytyyang left a comment

Choose a reason for hiding this comment

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

LGTM!

@aclegg3 aclegg3 marked this pull request as ready for review February 2, 2024 16:05
@aclegg3 aclegg3 merged commit c219378 into main Feb 2, 2024
4 checks passed
@aclegg3 aclegg3 deleted the use-rec-unique-name branch February 2, 2024 16:05
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
HHYHRHY pushed a commit to SgtVincent/habitat-lab that referenced this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants