mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
Update recipe.yaml fix: figure_resource use call_async in all service to avoid deadlock fix: prcxi import error 临时兼容错误的driver写法 fix protocol node fix filter protocol bugfixes on organic protocols fix and remove redundant info feat: 新增use_remote_resource参数 fix all protocol_compilers and remove deprecated devices feat: 优化protocol node节点运行日志 fix pumps and liquid_handler handle feat: workstation example add: prcxi res fix: startup slow fix: prcxi_res fix: discard_tips fix: discard_tips error fix: drop_tips not using auto resource select feat: 添加ChinWe设备控制类,支持串口通信和电机控制功能 (#79) feat: add trace log level modify default discovery_interval to 15s fix: working dir error when input config path feat: report publish topic when error fix: workstation handlers and vessel_id parsing Cleanup registry to be easy-understanding (#76) * delete deprecated mock devices * rename categories * combine chromatographic devices * rename rviz simulation nodes * organic virtual devices * parse vessel_id * run registry completion before merge --------- Co-authored-by: Xuwznln <18435084+Xuwznln@users.noreply.github.com>
74 lines
2.4 KiB
YAML
74 lines
2.4 KiB
YAML
camera.USB:
|
||
category:
|
||
- camera
|
||
class:
|
||
action_value_mappings:
|
||
auto-destroy_node:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: []
|
||
result: {}
|
||
schema:
|
||
description: 用于安全地关闭摄像头设备,释放摄像头资源,停止视频采集和发布服务。调用此函数将清理OpenCV摄像头连接并销毁ROS2节点。
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result: {}
|
||
required:
|
||
- goal
|
||
title: destroy_node参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
auto-timer_callback:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: []
|
||
result: {}
|
||
schema:
|
||
description: 定时器回调函数的参数schema。此函数负责定期采集摄像头视频帧,将OpenCV格式的图像转换为ROS Image消息格式,并发布到指定的视频话题。默认以10Hz频率执行,确保视频流的连续性和实时性。
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result: {}
|
||
required:
|
||
- goal
|
||
title: timer_callback参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
module: unilabos.ros.nodes.presets.camera:VideoPublisher
|
||
status_types: {}
|
||
type: ros2
|
||
config_info: []
|
||
description: VideoPublisher摄像头设备节点,用于实时视频采集和流媒体发布。该设备通过OpenCV连接本地摄像头(如USB摄像头、内置摄像头等),定时采集视频帧并将其转换为ROS2的sensor_msgs/Image消息格式发布到视频话题。主要用于实验室自动化系统中的视觉监控、图像分析、实时观察等应用场景。支持可配置的摄像头索引、发布频率等参数。
|
||
handles: []
|
||
icon: ''
|
||
init_param_schema:
|
||
config:
|
||
properties:
|
||
camera_index:
|
||
default: 0
|
||
type: string
|
||
device_id:
|
||
default: video_publisher
|
||
type: string
|
||
period:
|
||
default: 0.1
|
||
type: number
|
||
resource_tracker:
|
||
type: string
|
||
required: []
|
||
type: object
|
||
data:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
version: 1.0.0
|