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

Driver disconnects Realsense #103

Open
samraise opened this issue Dec 5, 2022 · 3 comments
Open

Driver disconnects Realsense #103

samraise opened this issue Dec 5, 2022 · 3 comments

Comments

@samraise
Copy link

samraise commented Dec 5, 2022

I'm trying to use a Realsense D435i camera alongside a FLIR Blackfly. When I launch the FLIR camera driver the Realsense driver fails to locate the d435i with the following error:

 05/12 10:06:25,759 ERROR [281472258334960] (librealsense-exception.h:52) acquire: Cannot open '/dev/video0 Last Error: No such file or directory
 05/12 10:06:25,759 ERROR [281472258334960] (global_timestamp_reader.cpp:239) Error during time_diff_keeper polling: acquire: Cannot open '/dev/video0 Last Error: No such file or directory
 05/12 10:06:25,824 ERROR [281471969054960] (backend-v4l2.cpp:329) xioctl(VIDIOC_QBUF) failed when requesting new frame! fd: 22 error: No such device
 05/12 10:06:25,824 ERROR [281471969054960] (backend-v4l2.cpp:329) xioctl(VIDIOC_QBUF) failed when requesting new frame! fd: 27 error: No such device
 05/12 10:06:25,836 ERROR [281471814197488] (librealsense-exception.h:52) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
 05/12 10:06:25,836 ERROR [281471814197488] (librealsense-exception.h:52) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
 05/12 10:06:26,525 ERROR [281472023916784] (librealsense-exception.h:52) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
 05/12 10:06:26,525 ERROR [281472023916784] (error-handling.cpp:78) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
 05/12 10:06:26,759 ERROR [281472258334960] (librealsense-exception.h:52) acquire: Cannot open '/dev/video0 Last Error: No such file or directory
 05/12 10:06:26,759 ERROR [281472258334960] (global_timestamp_reader.cpp:239) Error during time_diff_keeper polling: acquire: Cannot open '/dev/video0 Last Error: No such file or directory

Could I please get some help on how I might be able to resolve this?

@fcladera
Copy link

fcladera commented Dec 7, 2022

I am observing the same issue with other cameras. As soon as I run this driver, other cameras are disconnected.

Update: it seems to be an issue with Spinnaker. Launching spinview triggers the same bug.

@KDeng98
Copy link

KDeng98 commented Apr 10, 2024

Hi,
I met a similar problem. Both Realsense and FLIR cameras can be turned on but the FLIR camera node will be killed with the following errors:
[ERROR] [1712765563.427054041]: [SpinnakerCamera::grabImage] Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]
[ERROR] [1712765563.427170181]: Failed to disconnect with error: [SpinnakerCamera::disconnect] Failed to disconnect camera with error: Spinnaker: Can't de-initialize camera. Camera is still streaming. [-1004]
Can anyone help me to find out why this happens and how to solve it? Thanks

@KDeng98
Copy link

KDeng98 commented Apr 12, 2024

Hi, I met a similar problem. Both Realsense and FLIR cameras can be turned on but the FLIR camera node will be killed with the following errors: [ERROR] [1712765563.427054041]: [SpinnakerCamera::grabImage] Failed to retrieve buffer with error: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011] [ERROR] [1712765563.427170181]: Failed to disconnect with error: [SpinnakerCamera::disconnect] Failed to disconnect camera with error: Spinnaker: Can't de-initialize camera. Camera is still streaming. [-1004] Can anyone help me to find out why this happens and how to solve it? Thanks

The problem was solved by using the USB3 camera instead of the GigE camera. It would be fine if you launch the FLIR node before launching the RealSense node.

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