mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 13:25:13 +00:00
Merge branch 'device_visualization' of https://github.com/q434343/Uni-Lab-OS into pr/39
This commit is contained in:
@@ -1,4 +1,2 @@
|
|||||||
[develop]
|
|
||||||
script_dir=$base/lib/unilabos
|
|
||||||
[install]
|
[install]
|
||||||
install_scripts=$base/lib/unilabos
|
install_scripts=$base/lib/unilabos
|
||||||
|
|||||||
@@ -243,6 +243,7 @@ class LiquidHandlerJointPublisher(BaseROS2DeviceNode):
|
|||||||
|
|
||||||
self.move_to(joint_positions_target_zero, speed, parent_id)
|
self.move_to(joint_positions_target_zero, speed, parent_id)
|
||||||
self.move_to(joint_positions_target, speed, parent_id)
|
self.move_to(joint_positions_target, speed, parent_id)
|
||||||
|
time.sleep(1)
|
||||||
if option == "pick":
|
if option == "pick":
|
||||||
link_name = self.lh_devices[parent_id]['joint_config']['link_names'][z_index]
|
link_name = self.lh_devices[parent_id]['joint_config']['link_names'][z_index]
|
||||||
link_name = f'{parent_id}_{link_name}'
|
link_name = f'{parent_id}_{link_name}'
|
||||||
|
|||||||
@@ -391,7 +391,8 @@ class ResourceMeshManager(BaseROS2DeviceNode):
|
|||||||
planning_scene = PlanningScene()
|
planning_scene = PlanningScene()
|
||||||
planning_scene.is_diff = True
|
planning_scene.is_diff = True
|
||||||
planning_scene.robot_state.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
|
count = 0
|
||||||
|
|
||||||
for resource_id, target_parent in cmd_dict.items():
|
for resource_id, target_parent in cmd_dict.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user