Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
275e3a3
Update README and MQTTClient for installation instructions and code i…
Mile-Away Apr 18, 2025
bb1cac0
Merge remote-tracking branch 'origin/main' into dev
Xuwznln Apr 20, 2025
82881f5
feat: 支持local_config启动
Xuwznln Apr 20, 2025
e971424
add: registry description
Xuwznln Apr 20, 2025
5b4f580
add 3d visualization
Apr 23, 2025
279c5ed
完成在main中启动设备可视化
Apr 23, 2025
6155ec2
完成TF发布
Apr 23, 2025
1e01eae
修改模型方向,在yaml中添加变换属性
Apr 25, 2025
bed9720
添加物料tf变化时,发送topic到前端
Apr 25, 2025
ff8b75b
添加关节发布节点与物料可视化节点进入unilab
Apr 27, 2025
dbd1557
Merge branch 'refs/heads/main' into dev
Xuwznln Apr 29, 2025
bdf97be
使用json启动plr与3D模型仿真
Apr 29, 2025
09fc174
feat: node_info_update srv
Xuwznln Apr 29, 2025
e5749a8
close #12
Xuwznln Apr 29, 2025
ea6f25d
feat: show machine name
Xuwznln Apr 29, 2025
ba6a43c
feat: add hplc registry
Xuwznln Apr 29, 2025
6b649bf
feat: add hplc registry
Xuwznln Apr 29, 2025
0d2f1be
fix: hplc status typo
Xuwznln Apr 29, 2025
5038219
fix: devices/
Xuwznln Apr 29, 2025
8921bcd
完成启动OT并联动rviz
Apr 29, 2025
b7a16cd
add 3d visualization
Apr 23, 2025
2baa232
完成在main中启动设备可视化
Apr 23, 2025
0d24606
完成TF发布
Apr 23, 2025
2990e70
修改模型方向,在yaml中添加变换属性
Apr 25, 2025
111c3f4
添加物料tf变化时,发送topic到前端
Apr 25, 2025
d407423
添加关节发布节点与物料可视化节点进入unilab
Apr 27, 2025
49bb11b
使用json启动plr与3D模型仿真
Apr 29, 2025
dc197bf
完成启动OT并联动rviz
Apr 29, 2025
4dbb664
fix: device.class possible null
Xuwznln Apr 29, 2025
8ab108c
fix: HPLC additions with online service
Xuwznln Apr 30, 2025
2d034f7
fix: slave mode spin not working
Xuwznln Apr 30, 2025
7a51b2a
fix: slave mode spin not working
Xuwznln Apr 30, 2025
44c191f
Merge branch 'device_visualization' of https://github.com/q434343/Uni…
Apr 30, 2025
5212d2d
修复rviz位置问题,
Apr 30, 2025
9d2bfec
feat: 多ProtocolNode 允许子设备ID相同
Xuwznln May 1, 2025
752442c
feat: 支持env设置config
Xuwznln May 1, 2025
9eb271f
Merge remote-tracking branch 'origin/dev' into fork/q434343/device_vi…
Xuwznln May 1, 2025
2b42808
fix: running logic
Xuwznln May 1, 2025
fa5db06
fix: running logic
Xuwznln May 1, 2025
78239ab
fix: missing ot
Xuwznln May 1, 2025
5668310
在main中直接初始化republisher和物料的mesh节点
May 1, 2025
80380d1
将joint_republisher和resource_mesh_manager添加进 main_slave_run.py中
May 2, 2025
a52133b
Device visualization (#14)
q434343 May 6, 2025
1223e05
fix: missing hostname in devices_names
Xuwznln May 4, 2025
d6b8104
fix: missing paho-mqtt package
Xuwznln May 6, 2025
3c98c77
fix startup
Xuwznln May 6, 2025
65d0cbe
Merge remote-tracking branch 'origin/main' into dev
Xuwznln May 6, 2025
1a107cf
fix type hint
Xuwznln May 6, 2025
164417e
Merge remote-tracking branch 'origin/main' into dev
Xuwznln May 6, 2025
948f590
update actions
Xuwznln May 6, 2025
1949852
update actions
Xuwznln May 6, 2025
b47f67d
host node add_resource_from_outer
Xuwznln May 6, 2025
852d10d
pass device config to device class
Xuwznln May 6, 2025
32e370a
add: bind_parent_ids to resource create action
Xuwznln May 6, 2025
49a9f05
fix: host node should not be re_discovered
Xuwznln May 6, 2025
b6a3f17
feat: resource tracker support dict
Xuwznln May 6, 2025
e373220
feat: add more necessary params
Xuwznln May 6, 2025
de28c50
feat: fix boolean null in registry action data
Xuwznln May 6, 2025
ed2858a
feat: add outer resource
Xuwznln May 6, 2025
d199fda
编写mesh添加action
May 6, 2025
3dc62e3
feat: append resource
Xuwznln May 6, 2025
3d607db
add action
May 6, 2025
cd1e9a9
feat: vis 2d for plr
Xuwznln May 6, 2025
8617b12
Merge remote-tracking branch 'upstream/dev' into device_visualization
May 6, 2025
b43f232
Merge remote-tracking branch 'origin/dev' into device_visualization
Xuwznln May 6, 2025
aad2359
fix
May 6, 2025
6d5ada0
Merge remote-tracking branch 'q434343/device_visualization' into devi…
Xuwznln May 6, 2025
5df304b
fix: browser on rviz
Xuwznln May 6, 2025
3d60cb3
fix: cloud bridge error fallback to local
Xuwznln May 6, 2025
6cdd8c1
fix: salve auto run rviz
Xuwznln May 6, 2025
c12c2a8
初始化两个plate
May 6, 2025
f3637d4
Device visualization (#22)
q434343 May 6, 2025
83abf87
fix: multi channel
Xuwznln May 6, 2025
1b190ee
Merge remote-tracking branch 'upstream/dev' into device_visualization
May 6, 2025
fbff27a
fix: aspirate
Xuwznln May 6, 2025
45a73e2
fix: aspirate
Xuwznln May 6, 2025
2dde5b6
fix: aspirate
Xuwznln May 6, 2025
ad5168c
Merge branch 'dev' into device_visualization
May 6, 2025
34e03bb
fix: aspirate
Xuwznln May 6, 2025
da50e43
提交
May 6, 2025
6f97731
fix: jobadd
Xuwznln May 6, 2025
bec58e1
fix: jobadd
Xuwznln May 6, 2025
4223f9b
fix: msg converter
Xuwznln May 6, 2025
42f0994
tijiao
May 6, 2025
3d71c8b
Merge branch 'dev' into device_visualization
May 6, 2025
013c25f
Merge remote-tracking branch 'origin/dev' into fork/q434343/device_vi…
Xuwznln May 6, 2025
8e1dbb5
add resource creat easy action
Xuwznln May 13, 2025
f0576e5
identify debug msg
Xuwznln May 13, 2025
3600b6f
mq client id
Xuwznln May 13, 2025
4decd9a
Merge branch '24-high-level-liquidhandler' into dev
Xuwznln May 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unilabos/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from unilabos.config.config import load_config, BasicConfig, _update_config_from_env
from unilabos.utils.banner_print import print_status, print_unilab_banner
from unilabos.device_mesh.resource_visalization import ResourceVisualization


def parse_args():
Expand Down Expand Up @@ -188,6 +187,7 @@ def _exit(signum, frame):
if args_dict["visual"] != "disable":
enable_rviz = args_dict["visual"] == "rviz"
if devices_and_resources is not None:
from unilabos.device_mesh.resource_visalization import ResourceVisualization # 此处开启后,logger会变更为INFO,有需要请调整
resource_visualization = ResourceVisualization(devices_and_resources, args_dict["resources_config"] ,enable_rviz=enable_rviz)
args_dict["resources_mesh_config"] = resource_visualization.resource_model
start_backend(**args_dict)
Expand Down
1 change: 1 addition & 0 deletions unilabos/app/mq.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MQTTClient:
def __init__(self):
self.mqtt_disable = not MQConfig.lab_id
self.client_id = f"{MQConfig.group_id}@@@{MQConfig.lab_id}{uuid.uuid4()}"
logger.info("[MQTT] Client_id: " + self.client_id)
self.client = mqtt.Client(CallbackAPIVersion.VERSION2, client_id=self.client_id, protocol=mqtt.MQTTv5)
self._setup_callbacks()

Expand Down
Empty file.
2 changes: 1 addition & 1 deletion unilabos_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ set(action_files
"action/ResourceCreateFromOuter.action"

"action/SolidDispenseAddPowderTube.action"

"action/PumpTransfer.action"
"action/Clean.action"
"action/Separate.action"
Expand Down
20 changes: 20 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerAddLiquid.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
float64[] asp_vols
float64[] dis_vols
Resource[] reagent_sources
Resource[] targets
int32[] use_channels
float64[] flow_rates
geometry_msgs/Point[] offsets
float64[] liquid_height
float64[] blow_out_air_volume
string spread
bool is_96_well
int32 mix_time
int32 mix_vol
int32 mix_rate
float64 mix_liquid_height
string[] none_keys
---
bool success
---
# 反馈
6 changes: 6 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerCustomDelay.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
float64 seconds
string msg
---
bool success
---
# 反馈
11 changes: 11 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerMix.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Resource[] targets
int32 mix_time
int32 mix_vol
float64 height_to_bottom
geometry_msgs/Point[] offsets
float64 mix_rate
string[] none_keys
---
bool success
---
# 反馈
7 changes: 7 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerMoveTo.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Resource well
float64 dis_to_top
int32 channel
---
bool success
---
# 反馈
17 changes: 17 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerRemoveLiquid.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
float64[] vols
Resource[] sources
Resource waste_liquid
int32[] use_channels
float64[] flow_rates
geometry_msgs/Point[] offsets
float64[] liquid_height
float64[] blow_out_air_volume
string spread
int32[] delays
bool is_96_well
float64[] top
string[] none_keys
---
bool success
---
# 反馈
5 changes: 5 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerSetTiprack.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Resource[] tip_racks
---
bool success
---
# 反馈
5 changes: 5 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerTouchTip.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Resource[] targets
---
bool success
---
# 反馈
25 changes: 25 additions & 0 deletions unilabos_msgs/action/DPLiquidHandlerTransferLiquid.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
float64[] asp_vols
float64[] dis_vols
Resource[] sources
Resource[] targets
Resource[] tip_racks
int32[] use_channels
float64[] asp_flow_rates
float64[] dis_flow_rates
geometry_msgs/Point[] offsets
bool touch_tip
float64[] liquid_height
float64[] blow_out_air_volume
string spread
bool is_96_well
string mix_stage
int32[] mix_times
int32 mix_vol
int32 mix_rate
float64 mix_liquid_height
int32[] delays
string[] none_keys
---
bool success
---
# 反馈
10 changes: 10 additions & 0 deletions unilabos_msgs/action/ResourceCreateFromOuterEasy.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
string id
string class
string parent
geometry_msgs/Point bind_locations
int32[] liquid_input_slot
string[] liquid_type
float32[] liquid_volume
---
bool success
---