-
Notifications
You must be signed in to change notification settings - Fork 505
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
"Above" set query util #1817
"Above" set query util #1817
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good assuming tests pass and my question about test stability is a non-issue.
all_objects = get_all_object_ids(sim) | ||
|
||
mixer_object = get_obj_from_handle( | ||
sim, "frl_apartment_small_appliance_01_:0000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these sim entities stable enough to be included in tests, or should we be placing new entities?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming these are stable because they are ReplicaCAD scenes which we have no intention of modifying. This scene "apt_0" is a reconstruction of the first static "FRL apartment" arrangement from Replica.
If anything were to change in the future it would most likely be dynamic settling which should preserve the tested relationships here.
* add above set query util * add tests for above and general purpose object_keypoint_cast
* add above set query util * add tests for above and general purpose object_keypoint_cast
Motivation and Context
Based on #1770.
Adds "above" preposition query based on raycasting from object keypoints.
NOTE: returns a set of object_id rather than previous prototype's ManagedObject tuples.
How Has This Been Tested
Added pytests for keypoint casting and "above".
Types of changes
Checklist