Skip to content

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

Closed

Description

@frannecki

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

Activity

  1. piedar commented on Nov 12, 2018

    @piedar
    Contributor

    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.

  2. frannecki commented on Nov 14, 2018

    @frannecki
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions