奥比中光深度相机 openni找不到设备问题

本文详细解析了openni2.launch中设备识别错误的问题,主要原因是usb总线上的设备与预期不符。通过修改<arg>标签中的device_id、id_manufacturer和id_product参数,可以解决设备识别问题。建议参照astra.launch进行修改,或者直接替换openni2.launch文件,但需备份原文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[ INFO] [1579080421.139074113]: No matching device found… waiting for devices. Reason: std::__cxx11::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/binarydeb/ros-kinetic-openni2-camera-0.4.2/src/openni2_driver.cpp @ 787 : Device not found

实际该问题是openni2.launch问题 其中在usb总线上找到的设备不对。

问题再这里和下面一些代码

<arg name="device_id" default="#1" doc="device_id can have the following formats: '#1'  : the first device found '2@X' : the Xth device on USB bus 2"/>
<arg name="id_manufacturer" default="1d27"  doc="Vendor ID of the sensor (maintained at http://www.linux-usb.org/usb-ids.html). Default: ASUS."/>
<arg name="id_product" default="0601" doc="Product ID of the sensor. Default: Xtion."/>

可以对照 astra.launch修改/opt/ros/kinetic/share/openni2_launch/launch/openni2.launch,省事的话直接替换掉,不过最好做个备份

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值