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

Maintain contained objects when placed on stove #1252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

garfieldnate
Copy link

Without this, a pan with a potato in it placed on the stove will no longer logically contain the potato (i.e. the potato will be missing from receptacleObjectIds), even though it's clearly still sitting there in the pan. The code, including the comment about why we use the stationary drop, is copied exactly from the PlaceObject(), where I observed it working fine for the case of placing the pan with the potato in it onto the counter.

I don't understand all of the details of the system yet, so it's possible that the stationary drop was not the right action to take. I'm also unaware of how to write unit tests for this project, but if you can provide some guidance then I will be happy to contribute some. I did do manual testing, though, and the receptacleObjectIds property has been fixed for the case outlined above.

Without this, a pan with a potato in it placed on the stove will no longer
logically contain the potato, even though it's clearly sitting there. The code,
including the comment about why we use the stationary drop, is copied exactly
from the `PlaceObject()`, where I observed it working fine for placing the pan
with the potato in it onto the counter.
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