Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB events thread - failed to set priority ... Number devices connected: 2 #13

Open
GianMeng opened this issue Jul 24, 2018 · 2 comments

Comments

@GianMeng
Copy link

GianMeng commented Jul 24, 2018

Hello, I got a problem when I tried to
roslaunch openni_launch openni.launch
with kinect v1 on my ubuntu16.04

#-------------------------------------------------------------------

The main problem is
Warning: USB events thread - failed to set priority. This might cause loss of data...
[ INFO] [1532144223.689084031]: **Number devices connected: 2**
[ INFO] [1532144223.789816257]: ** 1. device on bus 002:08 is a SensorKinect (2ae) from PrimeSense (45e) with serial id '0' **
[ INFO] [1532144223.789871737]: ** 2. device on bus 002:08 is a SensorV2 (2ae) from PrimeSense (45e) with serial id 'A00366902406104A' **
[ INFO] [1532144223.790564154]: Searching for device with index = 2
[ INFO] [1532144223.826063687]: Opened 'SensorV2' on bus 2:8 with serial number 'A00366902406104A'
[ INFO] [1532144223.853133835]: rgb_frame_id = 'camera_rgb_optical_frame'
[ INFO] [1532144223.854356984]: depth_frame_id = 'camera_depth_optical_frame'
[ WARN] [1532144223.861493275]: Camera calibration file /home/neo/.ros/camera_info/rgb_A00366902406104A.yaml not found.
[ WARN] [1532144223.861670175]: Using default parameters for RGB camera calibration.
[ WARN] [1532144223.861811460]: Camera calibration file /home/neo/.ros/camera_info/depth_A00366902406104A.yaml not found.
[ WARN] [1532144223.861931850]: Using default parameters for IR camera calibration.

It showed the computer connected to two kinects. But I only had one kinect connected.

#------------------------------------------------------------------------------------------------------------------------

I Have asked on ROS ANSWER, here, but I get no reply.

#-----------------------------------------------------------------------------------------------------------------------

So I have to ask help from here.
I hope someone would help me with the issue. Thank you so much.

@srisadhan
Copy link

After a lot of struggle, I finally found an answer which solved the issue. Hope it helps you too.

In "SensorKinect/Platform/Linux/Redist/Sensor-Bin-Linux-x64-v5.1.2.1"
Uninstall the driver - sudo ./install.sh -u
ros-drivers/openni_camera#54 (comment)

@abhinavtripathi95
Copy link

Thanks a lot @srisadhan for this solution. I had been stuck with this for over 24 hours, uninstalling and installing everything again but nothing worked.
After uninstalling the driver, openni_launch file started working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants