mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-06 06:25:06 +00:00
* add biomek.py demo implementation * 更新LiquidHandlerBiomek类,添加资源创建功能,优化协议创建方法,修复部分代码格式问题,更新YAML配置以支持新功能。 * Test * fix biomek success type * Convert LH action to biomek. * Update biomek.py * 注册表上报handle和schema (param input) * 修复biomek缺少的字段 * delete 's' * Remove warnings * Update biomek.py * Biomek test * Update biomek.py * 新增transfer_biomek的msg * New transfer_biomek * Updated transfer_biomek * 更新transfer_biomek的msg * 更新transfer_biomek的msg * 支持Biomek创建 * new action * fix key name typo * New parameter for biomek to run. * Refine * Update * new actions * new actions * 1 * registry * fix biomek startup add action handles * fix handles not as default entry * biomek_test.py biomek_test.py是最新的版本,运行它会生成complete_biomek_protocol.json * Update biomek.py * biomek_test.py * fix liquid_handler.biomek handles * host node新增resource add时间统计 create_resource新增handle bump version to 0.9.2 * 修正物料上传时间 改用biomek_test 增加ResultInfoEncoder 支持返回结果上传 * 正确发送return_info结果 * 同步执行状态信息 * 取消raiseValueError提示 * Update biomek_test.py * 0608 DONE * 同步了Biomek.py 现在应可用 * biomek switch back to non-test * temp disable initialize resource * Refine biomek * Refine copy issue * Refine --------- Co-authored-by: Junhan Chang <changjh@pku.edu.cn> Co-authored-by: Guangxin Zhang <guangxin.zhang.bio@gmail.com> Co-authored-by: qxw138 <qxw@stu.pku.edu.cn>
114 lines
3.0 KiB
CMake
114 lines
3.0 KiB
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(unilabos_msgs)
|
|
|
|
# Default to C99
|
|
if(NOT CMAKE_C_STANDARD)
|
|
set(CMAKE_C_STANDARD 99)
|
|
endif()
|
|
|
|
# Default to C++14
|
|
if(NOT CMAKE_CXX_STANDARD)
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
endif()
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
add_compile_options(-Wall -Wextra -Wpedantic)
|
|
add_compile_options(-include cstdint)
|
|
endif()
|
|
|
|
# find dependencies
|
|
find_package(ament_cmake REQUIRED)
|
|
find_package(std_msgs REQUIRED)
|
|
find_package(rosidl_default_generators REQUIRED)
|
|
find_package(geometry_msgs REQUIRED)
|
|
|
|
set(action_files
|
|
"action/SendCmd.action"
|
|
"action/Stir.action"
|
|
"action/HeatChill.action"
|
|
"action/HeatChillStart.action"
|
|
"action/HeatChillStop.action"
|
|
|
|
"action/LiquidHandlerProtocolCreation.action"
|
|
|
|
"action/LiquidHandlerAspirate.action"
|
|
"action/LiquidHandlerDiscardTips.action"
|
|
"action/LiquidHandlerDispense.action"
|
|
"action/LiquidHandlerDropTips.action"
|
|
"action/LiquidHandlerDropTips96.action"
|
|
"action/LiquidHandlerMoveLid.action"
|
|
"action/LiquidHandlerMovePlate.action"
|
|
"action/LiquidHandlerMoveResource.action"
|
|
"action/LiquidHandlerPickUpTips.action"
|
|
"action/LiquidHandlerPickUpTips96.action"
|
|
"action/LiquidHandlerReturnTips.action"
|
|
"action/LiquidHandlerReturnTips96.action"
|
|
"action/LiquidHandlerStamp.action"
|
|
"action/LiquidHandlerTransfer.action"
|
|
|
|
"action/LiquidHandlerTransferBiomek.action"
|
|
"action/LiquidHandlerIncubateBiomek.action"
|
|
"action/LiquidHandlerMoveBiomek.action"
|
|
"action/LiquidHandlerOscillateBiomek.action"
|
|
|
|
"action/LiquidHandlerAdd.action"
|
|
"action/LiquidHandlerMix.action"
|
|
"action/LiquidHandlerMoveTo.action"
|
|
"action/LiquidHandlerRemove.action"
|
|
|
|
"action/EmptyIn.action"
|
|
"action/FloatSingleInput.action"
|
|
"action/IntSingleInput.action"
|
|
"action/StrSingleInput.action"
|
|
"action/Point3DSeparateInput.action"
|
|
|
|
"action/ResourceCreateFromOuter.action"
|
|
"action/ResourceCreateFromOuterEasy.action"
|
|
|
|
"action/SolidDispenseAddPowderTube.action"
|
|
|
|
"action/PumpTransfer.action"
|
|
"action/Clean.action"
|
|
"action/Separate.action"
|
|
"action/Evaporate.action"
|
|
"action/EvacuateAndRefill.action"
|
|
|
|
"action/WorkStationRun.action"
|
|
"action/AGVTransfer.action"
|
|
)
|
|
|
|
set(srv_files
|
|
"srv/Stop.srv"
|
|
"srv/SerialCommand.srv"
|
|
"srv/ResourceGet.srv"
|
|
"srv/ResourceList.srv"
|
|
"srv/ResourceAdd.srv"
|
|
"srv/ResourceUpdate.srv"
|
|
"srv/ResourceDelete.srv"
|
|
)
|
|
|
|
set(msg_files
|
|
"msg/State.msg"
|
|
"msg/Resource.msg"
|
|
)
|
|
|
|
rosidl_generate_interfaces(${PROJECT_NAME}
|
|
${msg_files}
|
|
${srv_files}
|
|
${action_files}
|
|
DEPENDENCIES std_msgs geometry_msgs
|
|
)
|
|
|
|
if(BUILD_TESTING)
|
|
find_package(ament_lint_auto REQUIRED)
|
|
# the following line skips the linter which checks for copyrights
|
|
# uncomment the line when a copyright and license is not present in all source files
|
|
#set(ament_cmake_copyright_FOUND TRUE)
|
|
# the following line skips cpplint (only works in a git repo)
|
|
# uncomment the line when this package is not in a git repo
|
|
#set(ament_cmake_cpplint_FOUND TRUE)
|
|
ament_lint_auto_find_test_dependencies()
|
|
endif()
|
|
|
|
ament_package()
|