新增抹布桌的物品抓放

This commit is contained in:
Netceor 2023-11-14 14:41:02 +08:00 committed by GitHub
parent 9fd0d2abfe
commit 01c111db42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -30,11 +30,12 @@ class SceneVLM(Scene):
# 16: 抓操作需要传入物品id17: 放操作需要传入放置位置周围的空地区域(桌边而不是桌上)
# if op_type == 16:
# self.gen_obj()
# self.op_task_execute(op_type, obj_id=0)
# self.op_task_execute(op_type, obj_id=1)
# op_type = 17
# # 原始吧台处:[247.0, 520.0, 100.0], 空调开关旁吧台:[240.0, 40.0, 70.0], 水杯桌:[-70.0, 500.0, 107]
# # 桌子1:[-55.0, 0.0, 107],桌子2:[-55.0, 150.0, 107]
# elif op_type == 17: self.op_task_execute(op_type, release_pos=[247.0, 520.0, 100.0])#[-55.0, 150.0, 107]
# else:
# # 桌子1:[-55.0, 0.0, 107],桌子2:[-55.0, 150.0, 107], 抹布桌:[300.0, 935.0, 98.0]
# if op_type == 17: self.op_task_execute(op_type, release_pos=[300.0, 935.0, 98.0]) #[325.0, 860.0, 100]
# if op_type not in [16,17]:
# self.move_task_area(op_type)
# self.op_task_execute(op_type)
pass