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

Failed to access the same kinect v1 in two processes #569

Closed
frannecki opened this issue Nov 11, 2018 · 2 comments
Closed

Failed to access the same kinect v1 in two processes #569

frannecki opened this issue Nov 11, 2018 · 2 comments

Comments

@frannecki
Copy link

frannecki commented Nov 11, 2018

hello,
I'm using kinect v1 for ROS and want to access the camera's video stream at the same time, but when i'm trying to access the kinect in another terminal i get the following errors

Failed to claim camera interface: LIBUSB_ERROR_BUSY
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.terminate called after throwing an instance of 'std::runtime_error'
  what():  Cannot open Kinect
Aborted (core dumped)

And when i'm getting the video the kinect also fails to start in ROS. Has anyone any suggestions? I'm quite new to kinect. Any help would be appreciated

@frannecki frannecki reopened this Nov 11, 2018
@piedar
Copy link
Contributor

piedar commented Nov 12, 2018

Normally, you can't have multiple processes access the camera at the same time. With some care, you could use one process for camera and another for audio/motor. Or you could try proxynect.

@frannecki
Copy link
Author

@piedar Thank you. Actually I found out that the camera could be accessed using ROS message with openni. Issue closed.

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