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

asus-xtion: "Warning: USB events thread - failed to set priority" #96

Closed
RaulFdzbis opened this issue Jul 9, 2019 · 1 comment
Closed

Comments

@RaulFdzbis
Copy link
Member

Running asus xtion in bionic ubuntu (18.04) gives the following output:

~/repos/vision/share/sensors/conf (develop u=)$ yarpdev --from asus-xtion.ini
[INFO]RGBDSensorWrapper: using default 'period' parameter of  0.03 s 
[INFO]RGBDSensorWrapper: ROS configuration parameters are not set, skipping ROS topic initialization. 
yarp: Port /xtion/rpc:i active at tcp://163.117.150.58:10002/
yarp: Port /xtion/rgbImage:o active at tcp://163.117.150.58:10003/
yarp: Port /xtion/depthImage:o active at tcp://163.117.150.58:10004/
[DEBUG]opening IRGBDSensor subdevice
Warning: USB events thread - failed to set priority. This might cause loss of data...
[INFO]DepthCameraDriver:Depth successfully registered on rgb sensor 
[INFO]depthCamera: trying to set rgb mirroring parameter for the 1 time/s 
[INFO]depthCamera: rgb mirroring parameter set successfully 
[INFO]depthCamera: trying to set depth mirroring parameter for the 1 time/s 
[INFO]depthCamera: depth mirroring parameter set successfully 
[INFO]created device <depthCamera>. See C++ class yarp::dev::depthCameraDriver for documentation.
[INFO]created wrapper <RGBDSensorWrapper>. See C++ class yarp::dev::RGBDSensorWrapper for documentation.
yarp: Port /xtion/quit active at tcp://163.117.150.58:10005/
[INFO]device active in background...

The following Warning :

Warning: USB events thread - failed to set priority. This might cause loss of data...

Can be fixed running yarpdev with root following this solution. Given following output.

~/repos/vision/share/sensors/conf (develop u=)$ sudo yarpdev --from asus-xtion.ini
[INFO]RGBDSensorWrapper: using default 'period' parameter of  0.03 s 
[INFO]RGBDSensorWrapper: ROS configuration parameters are not set, skipping ROS topic initialization. 
yarp: Port /xtion/rpc:i active at tcp://163.117.150.58:10002/
yarp: Port /xtion/rgbImage:o active at tcp://163.117.150.58:10003/
yarp: Port /xtion/depthImage:o active at tcp://163.117.150.58:10004/
[DEBUG]opening IRGBDSensor subdevice
[INFO]DepthCameraDriver:Depth successfully registered on rgb sensor 
[INFO]depthCamera: trying to set rgb mirroring parameter for the 1 time/s 
[INFO]depthCamera: rgb mirroring parameter set successfully 
[INFO]depthCamera: trying to set depth mirroring parameter for the 1 time/s 
[INFO]depthCamera: depth mirroring parameter set successfully 
[INFO]created device <depthCamera>. See C++ class yarp::dev::depthCameraDriver for documentation.
[INFO]created wrapper <RGBDSensorWrapper>. See C++ class yarp::dev::RGBDSensorWrapper for documentation.
yarp: Port /xtion/quit active at tcp://163.117.150.58:10005/
[INFO]device active in background...
@jgvictores
Copy link
Member

Wouldn't it be better to set udev rules as in roboticslab-uc3m/amor-configuration-files#2 ?

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

2 participants