Create 5 new protocols & bump version 0.9.8 (#59)

* 添加了5个缺失的protocol,验证了可以运行

* bump version to 0.9.8

* 修复新增的Action的字段缺失

---------

Co-authored-by: Xuwznln <18435084+Xuwznln@users.noreply.github.com>
This commit is contained in:
Kongchang Feng
2025-07-04 13:58:27 +08:00
committed by GitHub
parent 132955617d
commit 21afdb62bc
20 changed files with 1602 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.16)
project(unilabos_msgs)
# Default to C99
@@ -28,7 +28,11 @@ set(action_files
"action/HeatChill.action"
"action/HeatChillStart.action"
"action/HeatChillStop.action"
"action/AdjustPH.action"
"action/ResetHandling.action"
"action/Dry.action"
"action/Hydrogenate.action"
"action/Recrystallize.action"
"action/CleanVessel.action"
"action/Dissolve.action"
"action/FilterThrough.action"
@@ -39,7 +43,6 @@ set(action_files
"action/Add.action"
"action/Centrifuge.action"
"action/Crystallize.action"
"action/Dry.action"
"action/Purge.action"
"action/StartPurge.action"
"action/StartStir.action"

View File

@@ -0,0 +1,13 @@
# Request - 与您的 AdjustPHProtocol 类匹配
string vessel
float64 ph_value
string reagent
---
# Result - 标准结果格式
bool success
string message
string return_info
---
# Feedback - 标准反馈格式
string status
float64 progress

View File

@@ -1,17 +1,12 @@
# Goal - 干燥操作的目标参数
string vessel # 干燥容器
float64 time # 干燥时间 (可选,秒)
float64 pressure # 压力 (可选Pa)
float64 temp # 温度 (可选,摄氏度)
bool continue_heatchill # 是否继续加热冷却
# Request
string compound # 化合物
string vessel # 干燥容器
---
# Result - 操作结果
# Result
bool success # 操作是否成功
string message # 结果消息
string return_info
---
# Feedback - 实时反馈
float64 progress # 进度百分比 (0-100)
float64 current_temp # 当前温度
float64 current_pressure # 当前压力
string current_status # 当前状态描述
# Feedback
string status # 当前状态描述
float64 progress # 进度百分比 (0-100)

View File

@@ -0,0 +1,13 @@
# Request
string temp
string time
string vessel
---
# Result
bool success
string message
string return_info
---
# Feedback
string status
float64 progress

View File

@@ -0,0 +1,15 @@
# Request
string ratio
string solvent1
string solvent2
string vessel
float64 volume
---
# Result
bool success
string message
string return_info
---
# Feedback
string status
float64 progress

View File

@@ -0,0 +1,11 @@
# Request
string solvent
---
# Result
bool success
string message
string return_info
---
# Feedback
string status
float64 progress