1

我有一个包含 ubuntu 20.04 和 ROS Noetic 的 docker 容器,我正在尝试用它从 IDS 控制 Ueye 相机。为此,我下载了 ROS 的 ueye_cam 包: http ://wiki.ros.org/ueye_cam 和 image_pipeline 包: http ://wiki.ros.org/image_pipeline 我还在 IDS 上下载了与我的相机对应的包网站并按照教程进行安装: https ://www.thorlabs.com/software/THO/ThorCam/Linux/Readme_uEye_Linux_4.90.06.html

当我尝试运行时,$ roslaunch ueye_cam rgb8.launch 我收到以下错误消息:

[ERROR] [1626351965.262425900]: No UEye cameras are connected
[ERROR] [1626351965.262560700]: Hint: make sure that the IDS camera daemon (/etc/init.d/ueyeusbdrc) is running
[ERROR] [1626351965.262743000]: Failed to initialize [camera]

我跑了:

$ /usr/bin/ueyeusbd start

并得到:

IDS ueyeusbd  4.94.1557 64bit build Apr 30 2021 08:04:32 ( cmdl cap scq )

并跑:

$ /etc/init.d/ueyeusbdrc start

并得到错误:

Starting ueyeusbd... IDS ueyeusbd  4.94.1557 64bit build Apr 30 2021 08:04:32 ( cmdl cap scq )
ueyeusbd is not running.

我尝试遵循这个解决方案: How can I run a service inside a docker container to get feed from a IDS uEye camera using gstreamer? 但它不起作用,因为我的 Windows 主机上没有 /var 。

我也试过:

systemctl start ueyeusbdrc

但我收到了这个错误:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

有谁知道是否可以通过包含 ROS1 的 docker 从 IDS 控制连接到 Windows 主机的 ueye 相机?

如果没有,你知道是否可以用ROS2包控制一个ueye相机,因为我已经有了相应的ROS2驱动程序?

4

0 回答 0