请问一下大家虚拟机里跑ROS,能连kinect2吗?

我链接时用LIBUSB,执行Protonect,会报错显示
Protonect: "bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out"
查了很多资料,试过很多方法都不管用

你报错的信息是usb口连接超时,不知道你用的是什么虚拟机,看下你有没有把你kinect连接的usb映射到你的虚拟机的虚拟usb上。

~/libfreenect2/build$ ./bin/Protonect gl
Version: 0.2.0
Environment variables: LOGFILE=
Usage: ./bin/Protonect [-gpu=] [gl | cl | clkde | cuda | cudakde | cpu] []
[-noviewer] [-norgb | -nodepth] [-help] [-version]
[-frames ]
To pause and unpause: pkill -USR1 Protonect
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 6 usb devices connected
[Info] [Freenect2Impl] found 0 devices
no device connected!

装个双系统就好了