mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 05:15:10 +00:00
add
This commit is contained in:
@@ -243,6 +243,7 @@ class LiquidHandlerJointPublisher(BaseROS2DeviceNode):
|
||||
|
||||
self.move_to(joint_positions_target_zero, speed, parent_id)
|
||||
self.move_to(joint_positions_target, speed, parent_id)
|
||||
time.sleep(1)
|
||||
if option == "pick":
|
||||
link_name = self.lh_devices[parent_id]['joint_config']['link_names'][z_index]
|
||||
link_name = f'{parent_id}_{link_name}'
|
||||
|
||||
@@ -391,7 +391,8 @@ class ResourceMeshManager(BaseROS2DeviceNode):
|
||||
planning_scene = PlanningScene()
|
||||
planning_scene.is_diff = True
|
||||
planning_scene.robot_state.is_diff = True
|
||||
time_start = self.get_clock().now()
|
||||
# time_start = self.get_clock().now()
|
||||
time_start = rclpy.time.Time(seconds=0)
|
||||
count = 0
|
||||
|
||||
for resource_id, target_parent in cmd_dict.items():
|
||||
|
||||
Reference in New Issue
Block a user