diff --git a/setup.cfg b/setup.cfg index e152926..5197889 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,2 @@ -[develop] -script_dir=$base/lib/unilabos [install] install_scripts=$base/lib/unilabos diff --git a/unilabos/devices/ros_dev/liquid_handler_joint_publisher.py b/unilabos/devices/ros_dev/liquid_handler_joint_publisher.py index c265675..5075e15 100644 --- a/unilabos/devices/ros_dev/liquid_handler_joint_publisher.py +++ b/unilabos/devices/ros_dev/liquid_handler_joint_publisher.py @@ -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}' diff --git a/unilabos/ros/nodes/presets/resource_mesh_manager.py b/unilabos/ros/nodes/presets/resource_mesh_manager.py index c797534..f453fe1 100644 --- a/unilabos/ros/nodes/presets/resource_mesh_manager.py +++ b/unilabos/ros/nodes/presets/resource_mesh_manager.py @@ -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():