源码,二次开发,AGV机器人视觉相机的使用方法

使用手册 – Medulla:相机使用方法 Camera Data Access Guide

跳到导航跳到搜索

目录

Ntroduction / 引言

  • This demo shows how to access camera data in MDCS using Medulla.
  • 此演示展示了如何使用Medulla在MDCS中访问摄像头数据。

1.Using Medulla / 使用Medulla

Medulla is used to capture, record, and replay various data types.

Medulla用于捕获、记录和回放各种数据类型。

2.Loading the USB Camera / 加载USB摄像头

In startup.iocmd, add commands to load USBCamera.dll from the plugins folder.

在startup.iocmd中,添加命令从插件文件夹加载USBCamera.dll。

3.Identifying the USB Device / 识别USB设备

Load USBCamera.dll to see the name of the USB device, for example, USB_Camera_9850.

加载USBCamera.dll以查看USB设备的名称,例如USB_Camera_9850。

4.Viewing the Camera Stream / 查看摄像头流

Click “view” to see the camera stream in Medulla.

点击”查看”以在Medulla中查看摄像头流。

5.Setting up ClumsyConsole / 设置ClumsyConsole

Run ClumsyConsole.exe, click “车辆配置”, “选择驱动”, and select SteerWheel_c.dll.

运行ClumsyConsole.exe,点击”车辆配置”,”选择驱动”,并选择SteerWheel_c.dll。

6.Adding Camera to Vehicle Layout / 将摄像头添加到车辆布局

Click “查看/编辑车体布局”, “添加”, “下视摄像头”. Then, click in the panel to add a camera component.

点击”查看/编辑车体布局”,”添加”,”下视摄像头”。然后,在面板中点击以添加摄像头组件。

7.Configuring the Camera Component / 配置摄像头组件

In the properties panel, double-click the name field, and enter “usbcam”, matching the name in startup.iocmd.

在属性面板中,双击名称字段,并输入”usbcam”,与startup.iocmd中的名称相匹配。

源码,二次开发,AGV机器人视觉相机的使用方法

8.Configuring ClumsyConsole / 配置ClumsyConsole

Choose the 动作 panel and double-click 捕捉 so Clumsy can start reading bytes from Medulla through shared memory.

选择动作面板并双击捕捉,使Clumsy能够开始通过共享内存从Medulla读取字节。

源码,二次开发,AGV机器人视觉相机的使用方法

9.Saving the Configuration / 保存配置

Click 保存配置 to save all the configurations from steps 6 to 8.

点击保存配置以保存从步骤6到8的所有配置。

源码,二次开发,AGV机器人视觉相机的使用方法

10.Testing the Camera / 测试摄像头

Click 测试摄像头 to show the Bitmap on the main panel. This demonstrates accessing a bitmap file from a usbcamera component programmatically (lines 25 to 52).

点击测试摄像头在主面板上显示位图。这展示了如何以编程方式从usbcamera组件访问位图文件(第25至52行)。

源码,二次开发,AGV机器人视觉相机的使用方法

After retrieving the bitmap, convert it to the desired format and process it with OpenCV or other libraries.

获取位图后,将其转换为所需格式,并使用OpenCV或其他库进行处理。

给TA打赏
共{{data.count}}人
人已打赏
全部分类

二次开发,AGV混合调度系统,开发手册,目标跟踪

2026-8-17 17:13:46

全部分类

二次开发,控制器技术,Replay,混合调度系统的数据录制,故障重现,数据溯源回放

2026-8-17 17:16:53

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
❯
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索