mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
3d sim (#97)
* 修改lh的json启动 * 修改lh的json启动 * 修改backend,做成sim的通用backend * 修改yaml的地址,3D模型适配网页生产环境 * 添加laiyu硬件连接 * 修改移液枪的状态判断方法, 修改移液枪的状态判断方法, 添加三轴的表定点与零点之间的转换 添加三轴真实移动的backend * 修改laiyu移液站 简化移动方法, 取消软件限制位置, 修改当值使用Z轴时也需要重新复位Z轴的问题 * 更新lh以及laiyu workshop 1,现在可以直接通过修改backend,适配其他的移液站,主类依旧使用LiquidHandler,不用重新编写 2,修改枪头判断标准,使用枪头自身判断而不是类的判断, 3,将归零参数用毫米计算,方便手动调整, 4,修改归零方式,上电使用机械归零,确定机械零点,手动归零设置工作区域零点方便计算,二者互不干涉 * 修改枪头动作 * 修改虚拟仿真方法 --------- Co-authored-by: zhangshixiang <@zhangshixiang> Co-authored-by: Junhan Chang <changjh@dp.tech>
This commit is contained in:
@@ -31,6 +31,7 @@ hplc_plate:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: hplc_plate/meshes/hplc_plate.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/hplc_plate/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0
|
||||
@@ -102,6 +103,7 @@ plate_96_high:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: plate_96_high/meshes/plate_96_high.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/plate_96_high/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0.086
|
||||
@@ -152,6 +154,7 @@ tiprack_96_high:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
children_mesh: generic_labware_tube_10_75/meshes/0_base.stl
|
||||
children_mesh_path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/generic_labware_tube_10_75/modal.xacro
|
||||
children_mesh_tf:
|
||||
- 0.0018
|
||||
- 0.0018
|
||||
@@ -160,6 +163,7 @@ tiprack_96_high:
|
||||
- 0
|
||||
- 0
|
||||
mesh: tiprack_96_high/meshes/tiprack_96_high.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tiprack_96_high/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0.086
|
||||
@@ -170,3 +174,60 @@ tiprack_96_high:
|
||||
type: resource
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
|
||||
tiprack_box:
|
||||
category:
|
||||
- resource_container
|
||||
class:
|
||||
module: unilabos.devices.resource_container.container:TipRackContainer
|
||||
type: python
|
||||
description: 96针头盒
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema: {}
|
||||
model:
|
||||
children_mesh: tip/meshes/tip.stl
|
||||
children_mesh_path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tip/modal.xacro
|
||||
children_mesh_tf:
|
||||
- 0.0045
|
||||
- 0.0045
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
mesh: tiprack_box/meshes/tiprack_box.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tiprack_box/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
type: resource
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
|
||||
plate_96:
|
||||
category:
|
||||
- resource_container
|
||||
class:
|
||||
module: unilabos.devices.resource_container.container:PlateContainer
|
||||
type: python
|
||||
description: 96孔板
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: plate_96/meshes/plate_96.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/plate_96/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
type: resource
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
65
unilabos/registry/resources/laiyu/container.yaml
Normal file
65
unilabos/registry/resources/laiyu/container.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
tube_container:
|
||||
category:
|
||||
- resource_container
|
||||
class:
|
||||
module: unilabos.devices.resource_container.container:TubeRackContainer
|
||||
type: python
|
||||
description: 96孔板
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema: {}
|
||||
model:
|
||||
children_mesh: tube/meshes/tube.stl
|
||||
children_mesh_path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tube/modal.xacro
|
||||
children_mesh_tf:
|
||||
- 0.017
|
||||
- 0.017
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
mesh: tube_container/meshes/tube_container.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tube_container/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
type: resource
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
|
||||
bottle_container:
|
||||
category:
|
||||
- resource_container
|
||||
class:
|
||||
module: unilabos.devices.resource_container.container:BottleRackContainer
|
||||
type: python
|
||||
description: 96孔板
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema: {}
|
||||
model:
|
||||
children_mesh: bottle/meshes/bottle.stl
|
||||
children_mesh_path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/bottle/modal.xacro
|
||||
children_mesh_tf:
|
||||
- 0.04
|
||||
- 0.04
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
mesh: bottle_container/meshes/bottle_container.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/bottle_container/modal.xacro
|
||||
mesh_tf:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
type: resource
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
17
unilabos/registry/resources/laiyu/deck.yaml
Normal file
17
unilabos/registry/resources/laiyu/deck.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
TransformXYZDeck:
|
||||
category:
|
||||
- deck
|
||||
class:
|
||||
module: unilabos.devices.liquid_handling.laiyu.laiyu:TransformXYZDeck
|
||||
type: pylabrobot
|
||||
description: Laiyu deck
|
||||
handles: []
|
||||
icon: ''
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: liquid_transform_xyz
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/devices/liquid_transform_xyz/macro_device.xacro
|
||||
type: device
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
|
||||
@@ -10,6 +10,7 @@ OTDeck:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: opentrons_liquid_handler
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/devices/opentrons_liquid_handler/macro_device.xacro
|
||||
type: device
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
@@ -25,6 +26,7 @@ hplc_station:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: hplc_station
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/devices/hplc_station/macro_device.xacro
|
||||
type: device
|
||||
registry_type: resource
|
||||
version: 1.0.0
|
||||
|
||||
@@ -118,6 +118,7 @@ nest_96_wellplate_100ul_pcr_full_skirt:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
children_mesh: generic_labware_tube_10_75/meshes/0_base.stl
|
||||
children_mesh_path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/generic_labware_tube_10_75/modal.xacro
|
||||
children_mesh_tf:
|
||||
- 0.0018
|
||||
- 0.0018
|
||||
@@ -126,6 +127,7 @@ nest_96_wellplate_100ul_pcr_full_skirt:
|
||||
- 0
|
||||
- 0
|
||||
mesh: tecan_nested_tip_rack/meshes/plate.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tecan_nested_tip_rack/modal.xacro
|
||||
mesh_tf:
|
||||
- 0.064
|
||||
- 0.043
|
||||
@@ -160,6 +162,7 @@ nest_96_wellplate_2ml_deep:
|
||||
init_param_schema: {}
|
||||
model:
|
||||
mesh: tecan_nested_tip_rack/meshes/plate.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tecan_nested_tip_rack/modal.xacro
|
||||
mesh_tf:
|
||||
- 0.064
|
||||
- 0.043
|
||||
|
||||
@@ -66,6 +66,7 @@ opentrons_96_filtertiprack_1000ul:
|
||||
- 0
|
||||
- 0
|
||||
mesh: tecan_nested_tip_rack/meshes/plate.stl
|
||||
path: https://uni-lab.oss-cn-zhangjiakou.aliyuncs.com/uni-lab/resources/tecan_nested_tip_rack/modal.xacro
|
||||
mesh_tf:
|
||||
- 0.064
|
||||
- 0.043
|
||||
|
||||
Reference in New Issue
Block a user