mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-05 13:55:06 +00:00
* Update README and MQTTClient for installation instructions and code improvements * feat: 支持local_config启动 add: 增加对crt path的说明,为传入config.py的相对路径 move: web component * add: registry description * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * feat: node_info_update srv fix: OTDeck cant create * close #12 feat: slave node registry * feat: show machine name fix: host node registry not uploaded * feat: add hplc registry * feat: add hplc registry * fix: hplc status typo * fix: devices/ * 完成启动OT并联动rviz * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * 完成启动OT并联动rviz * fix: device.class possible null * fix: HPLC additions with online service * fix: slave mode spin not working * fix: slave mode spin not working * 修复rviz位置问题, 修复rviz位置问题, 在无tf变动时减缓发送频率 在backend中添加物料跟随方法 * feat: 多ProtocolNode 允许子设备ID相同 feat: 上报发现的ActionClient feat: Host重启动,通过discover机制要求slaveNode重新注册,实现信息及时上报 * feat: 支持env设置config * fix: running logic * fix: running logic * fix: missing ot * 在main中直接初始化republisher和物料的mesh节点 * 将joint_republisher和resource_mesh_manager添加进 main_slave_run.py中 * Device visualization (#14) * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * 完成启动OT并联动rviz * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * 完成启动OT并联动rviz * 修复rviz位置问题, 修复rviz位置问题, 在无tf变动时减缓发送频率 在backend中添加物料跟随方法 * fix: running logic * fix: running logic * fix: missing ot * 在main中直接初始化republisher和物料的mesh节点 * 将joint_republisher和resource_mesh_manager添加进 main_slave_run.py中 --------- Co-authored-by: zhangshixiang <@zhangshixiang> Co-authored-by: wznln <18435084+Xuwznln@users.noreply.github.com> * fix: missing hostname in devices_names fix: upload_file for model file * fix: missing paho-mqtt package bump version to 0.9.0 * fix startup add ResourceCreateFromOuter.action * fix type hint * update actions * update actions * host node add_resource_from_outer fix cmake list * pass device config to device class * add: bind_parent_ids to resource create action fix: message convert string * fix: host node should not be re_discovered * feat: resource tracker support dict * feat: add more necessary params * feat: fix boolean null in registry action data * feat: add outer resource * 编写mesh添加action * feat: append resource * add action * feat: vis 2d for plr * fix * fix: browser on rviz * fix: cloud bridge error fallback to local * fix: salve auto run rviz * 初始化两个plate * Device visualization (#22) * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * 完成启动OT并联动rviz * add 3d visualization * 完成在main中启动设备可视化 完成在main中启动设备可视化,并输出物料ID:mesh的对应关系resource_model 添加物料模型管理类,遍历物料与resource_model,完成TF数据收集 * 完成TF发布 * 修改模型方向,在yaml中添加变换属性 * 添加物料tf变化时,发送topic到前端 另外修改了物料初始化的方法,防止在tf还未发布时提前建立物料模型与发布话题 * 添加关节发布节点与物料可视化节点进入unilab * 使用json启动plr与3D模型仿真 * 完成启动OT并联动rviz * 修复rviz位置问题, 修复rviz位置问题, 在无tf变动时减缓发送频率 在backend中添加物料跟随方法 * fix: running logic * fix: running logic * fix: missing ot * 在main中直接初始化republisher和物料的mesh节点 * 将joint_republisher和resource_mesh_manager添加进 main_slave_run.py中 * 编写mesh添加action * add action * fix * fix: browser on rviz * fix: cloud bridge error fallback to local * fix: salve auto run rviz * 初始化两个plate --------- Co-authored-by: zhangshixiang <@zhangshixiang> Co-authored-by: wznln <18435084+Xuwznln@users.noreply.github.com> * fix: multi channel * fix: aspirate * fix: aspirate * fix: aspirate * fix: aspirate * 提交 * fix: jobadd * fix: jobadd * fix: msg converter * tijiao * add resource creat easy action * identify debug msg * mq client id * unify liquid_handler definition * Update virtual_device.yaml * 更正了stir和heater的连接方式 * 区分了虚拟仪器中的八通阀和电磁阀,添加了两个阀门的驱动 * 修改了add protocol * 修复了阀门更新版的bug * 修复了添加protocol前缀导致的不能启动的bug * Fix handles * bump version to 0.9.6 * add resource edge upload * update container registry and handles * add virtual_separator virtual_rotavap fix transfer_pump * fix container value add parent_name to edge device id * 大图的问题都修复好了,添加了gassource和vacuum pump的驱动以及注册表 * default resource upload mode is false * 添加了icon的文件名在注册表里面 * 修改了json图中link的格式 * fix resource and edge upload * fix device ports * Fix edge id * 移除device的父节点关联 * separate registry sync and resource_add * 默认不进行注册表报送,通过命令unilabos-register或者增加启动参数 * 完善tip * protocol node不再嵌套显示 * bump version to 0.9.7 新增一个测试PumpTransferProtocol的teststation,亲测可以运行,将八通阀们和转移泵与pump_protocol适配 * protocol node 执行action不应携带自身device id * 添加了一套简易双八通阀工作站JSON,亲测能跑 * 修复了很多protocol,亲测能跑 * 添加了run column和filter through的protocol,亲测能跑 * fix mock_reactor * 修改了大图和小图的json,但是在前端上没看到改变 --------- Co-authored-by: Harvey Que <Q-Query@outlook.com> Co-authored-by: wznln <18435084+Xuwznln@users.noreply.github.com> Co-authored-by: zhangshixiang <@zhangshixiang> Co-authored-by: q434343 <73513873+q434343@users.noreply.github.com> Co-authored-by: Junhan Chang <changjh@pku.edu.cn>
376 lines
10 KiB
JSON
376 lines
10 KiB
JSON
{
|
|
"nodes": [
|
|
{
|
|
"id": "AddTestStation",
|
|
"name": "添加试剂测试工作站",
|
|
"children": [
|
|
"transfer_pump",
|
|
"multiway_valve",
|
|
"stirrer",
|
|
"flask_reagent1",
|
|
"flask_reagent2",
|
|
"flask_reagent3",
|
|
"flask_reagent4",
|
|
"reactor",
|
|
"flask_waste",
|
|
"flask_rinsing",
|
|
"flask_buffer"
|
|
],
|
|
"parent": null,
|
|
"type": "device",
|
|
"class": "workstation",
|
|
"position": {
|
|
"x": 620,
|
|
"y": 171,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"protocol_type": ["AddProtocol", "TransferProtocol", "StartStirProtocol", "StopStirProtocol"]
|
|
},
|
|
"data": {}
|
|
},
|
|
{
|
|
"id": "transfer_pump",
|
|
"name": "注射器泵",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "device",
|
|
"class": "virtual_transfer_pump",
|
|
"position": {
|
|
"x": 520,
|
|
"y": 300,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"port": "VIRTUAL",
|
|
"max_volume": 50.0,
|
|
"transfer_rate": 5.0
|
|
},
|
|
"data": {
|
|
"status": "Idle"
|
|
}
|
|
},
|
|
{
|
|
"id": "multiway_valve",
|
|
"name": "八通阀门",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "device",
|
|
"class": "virtual_multiway_valve",
|
|
"position": {
|
|
"x": 420,
|
|
"y": 300,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"port": "VIRTUAL",
|
|
"positions": 8
|
|
},
|
|
"data": {
|
|
"status": "Idle",
|
|
"current_position": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "stirrer",
|
|
"name": "搅拌器",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "device",
|
|
"class": "virtual_stirrer",
|
|
"position": {
|
|
"x": 720,
|
|
"y": 450,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"port": "VIRTUAL",
|
|
"max_temp": 100.0,
|
|
"max_speed": 1000.0
|
|
},
|
|
"data": {
|
|
"status": "Idle"
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_reagent1",
|
|
"name": "试剂瓶1 (甲醇)",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 100,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "甲醇",
|
|
"volume": 800.0,
|
|
"concentration": "99.9%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_reagent2",
|
|
"name": "试剂瓶2 (乙醇)",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 180,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "乙醇",
|
|
"volume": 750.0,
|
|
"concentration": "95%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_reagent3",
|
|
"name": "试剂瓶3 (丙酮)",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 260,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "丙酮",
|
|
"volume": 900.0,
|
|
"concentration": "99.5%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_reagent4",
|
|
"name": "试剂瓶4 (二氯甲烷)",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 340,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "二氯甲烷",
|
|
"volume": 850.0,
|
|
"concentration": "99.8%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "reactor",
|
|
"name": "反应器",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 720,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 2000.0
|
|
},
|
|
"data": {
|
|
"liquid": []
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_waste",
|
|
"name": "废液瓶",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 850,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 3000.0
|
|
},
|
|
"data": {
|
|
"liquid": []
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_rinsing",
|
|
"name": "冲洗液瓶",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 950,
|
|
"y": 300,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "去离子水",
|
|
"volume": 800.0,
|
|
"concentration": "纯净"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "flask_buffer",
|
|
"name": "缓冲液瓶",
|
|
"children": [],
|
|
"parent": "AddTestStation",
|
|
"type": "container",
|
|
"class": null,
|
|
"position": {
|
|
"x": 950,
|
|
"y": 400,
|
|
"z": 0
|
|
},
|
|
"config": {
|
|
"max_volume": 1000.0
|
|
},
|
|
"data": {
|
|
"liquid": [
|
|
{
|
|
"name": "磷酸盐缓冲液",
|
|
"volume": 700.0,
|
|
"concentration": "0.1M, pH 7.4"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"source": "transfer_pump",
|
|
"target": "multiway_valve",
|
|
"type": "physical",
|
|
"port": {
|
|
"transfer_pump": "syringe-port",
|
|
"multiway_valve": "multiway-valve-inlet"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_reagent1",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-1",
|
|
"flask_reagent1": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_reagent2",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-2",
|
|
"flask_reagent2": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_reagent3",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-3",
|
|
"flask_reagent3": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_reagent4",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-4",
|
|
"flask_reagent4": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "reactor",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-5",
|
|
"reactor": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_waste",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-6",
|
|
"flask_waste": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_rinsing",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-7",
|
|
"flask_rinsing": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "multiway_valve",
|
|
"target": "flask_buffer",
|
|
"type": "physical",
|
|
"port": {
|
|
"multiway_valve": "multiway-valve-port-8",
|
|
"flask_buffer": "top"
|
|
}
|
|
},
|
|
{
|
|
"source": "stirrer",
|
|
"target": "reactor",
|
|
"type": "physical",
|
|
"port": {
|
|
"stirrer": "stirrer-vessel",
|
|
"reactor": "bottom"
|
|
}
|
|
}
|
|
]
|
|
} |