Skip to content

Commit e73245e

Browse files
committed
blah
1 parent bcb21cf commit e73245e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/rpad/rlbench_utils/placement_dataset.py

+6
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ def get_anchor_points(
202202
handle_mapping=None,
203203
names_to_handles=None,
204204
):
205+
if use_from_simulator:
206+
handle_mapping = {
207+
name: sim.simGetObjectHandle(name)
208+
for name in BACKGROUND_NAMES + ROBOT_NONGRIPPER_NAMES
209+
}
210+
205211
if anchor_mode == AnchorMode.RAW:
206212
return rgb, point_cloud
207213
elif anchor_mode == AnchorMode.BACKGROUND_REMOVED:

0 commit comments

Comments
 (0)