1 2 Previous Next 23 Replies Latest reply on Apr 12, 2018 7:04 AM by MartyG

    no realsense device found: realsense D415 camera

    indsy

      Hi,

      I recently brought a realsense D415 camera. I am using ubuntu 14.04 and installed ros-wrapper and realsense SDK from Releases · intel-ros/realsense · GitHub. All the installation works ok but when I launch the rs_camera.launch file I get error

      [ERROR] [1523460413.786180365]: No RealSense devices were found! Terminating RealSense Node...

      There is no light in the camera when I plug it in with the usb3.0 cable that came with the camera. the output of lsusb is:

      indrajeet@indrajeet:~$ lsusb

      Bus 002 Device 002: ID 8086:0a66 Intel Corp.

      Bus 002 Device 007: ID 8086:0ad3 Intel Corp.

      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

      Bus 001 Device 003: ID 0cf3:e360 Atheros Communications, Inc.

      Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller

      Bus 001 Device 019: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

      the kernel version

      indrajeet@indrajeet:~$ uname -a

      Linux indrajeet 4.4.0-119-generic #143~14.04.1-Ubuntu SMP Mon Apr 2 18:04:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

       

      Please let me know what I can do to solve this problem.

       

      Thanks,

      Indrajeet

        • 1. Re: no realsense device found: realsense D415 camera
          MartyG

          From the last line of your log, I believe you are using kernel version 4.4. on Ubuntu 14.04 LTS.  So you meet the absolute minimum Linux OS requirements for RealSense SDK 2.0.  It sounds more like an issue with the USB.

           

          I note though that the release notes for the ROS wrapper seem to recommend a specific version of SDK 2.0 for use with each version of the ROS wrapper.  For example, the most recent wrapper, 2.0.3, recommends use with SDK 2.0 version 2.10.2 specifically.  Which SDK 2.0 version are you using please?

          • 2. Re: no realsense device found: realsense D415 camera
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hello indsy, 

            Have you connected the camera to a different USB 3.0 port? Or to a diferent computer with Windows 10? 

            Connecting the Camera to a Windows 10 computer is very important for the camera to have a firmware update. 

            Are you using a USB 3.0 hub? 

            Best Regards, 
            Juan N.

            • 3. Re: no realsense device found: realsense D415 camera
              indsy

              Thanks MartyG for your reply. I am using version 2.10.2. I also suspect its an issue with USB. is there a way to check if it is indeed a problem with USB. Outputs of some commands I found over internet to see if USB3.0 is working fine is:

               

              indrajeet@indrajeet:~$ lspci | grep USB

              00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)

              indrajeet@indrajeet:~$ lsusb -t | grep xhci

              /:  Bus 02.Port 1: Dev 1, class="root_hub", Driver=xhci_hcd/6p, 5000M

              /:  Bus 01.Port 1: Dev 1, class="root_hub", Driver=xhci_hcd/12p, 480M

              indrajeet@indrajeet:~$ lsusb

              Bus 002 Device 003: ID 8086:0a66 Intel Corp.

              Bus 002 Device 002: ID 8086:0ad3 Intel Corp.

              Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

              Bus 001 Device 004: ID 0cf3:e360 Atheros Communications, Inc.

              Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller

              Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

              Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

               

              Will it be straightforward to reinstall everything with a previous version of ros wrapper+SDK.  While installing this version I had to upgrade my cmake and gcc versions and had to rebuild the other ros packages installed in my laptop. I am now going to check with ubuntu 16.04 and see if the camera works.

               

              Indrajeet

              • 4. Re: no realsense device found: realsense D415 camera
                indsy

                Hi I did not connect the camera to windows, I will try now. I am using USB3.0 and tried two ports but it didnot work.

                • 5. Re: no realsense device found: realsense D415 camera
                  MartyG

                  When you use the camera on Windows, please open the RealSense Viewer program and see if the camera is detected, and if it is detected, what name the camera has.  If there is a USB problem, I would expect the camera's name to be shown as 'Intel RealSense USB2'.

                  • 6. Re: no realsense device found: realsense D415 camera
                    indsy

                    @MartyG: I could connect the camera to a USB3.0 port on a windows 10 machine, install latest firmware and it works fine (stereo +RGB both gives expected output) when I view from Realsense viewer. Its name is "Intel Realsense D415", doesn't have USB2 or USB3 attached to it.

                    • 7. Re: no realsense device found: realsense D415 camera
                      MartyG

                      If it says '"Intel Realsense D415' then it means that the camera is working correctly in USB 3.0 mode, as that is the correct name for the D415 camera in the RealSense Viewer if it is working properly.

                      • 8. Re: no realsense device found: realsense D415 camera
                        indsy

                        Hi MartyG,

                        Thanks for your help. I tried few more things since morning.

                        1. reinstalled latest ros wrapper 2.0 and SDK v2.10.2 on my ubuntu 14.04 machine but its the same thing again. I noticed command "./scripts/patch-realsense-ubuntu-xenial.sh0" fails and if I run modprobe I get this:

                        indrajeet@indrajeet:~$ sudo modprobe uvcvideo

                        modprobe: ERROR: could not insert 'uvcvideo': Required key not available

                         

                        2. same machine has ubuntu 16.04 installed so I installed the same wrapper and SDK there and strangely it works. However, when I launch rs_camera.launch I get few warnings:

                        [ INFO] [1523477604.476116251]: infra1 stream is enabled - width: 640, height: 480, fps: 30

                        [ INFO] [1523477604.476734525]: infra2 stream is enabled - width: 640, height: 480, fps: 30

                        11/04 16:13:24,478 WARNING [140608427751296] (backend-v4l2.cpp:1098) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!

                        11/04 16:13:24,479 WARNING [140608427751296] (sensor.cpp:313) Unregistered Media formats : [ RW16 ]; Supported: [ ]

                        [ INFO] [1523477604.487809220]: color stream is enabled - width: 640, height: 480, fps: 30

                        [ INFO] [1523477604.503752611]: publishStaticTransforms...

                        [ INFO] [1523477604.507152058]: RealSense Node Is Up!

                        11/04 16:13:24,696 WARNING [140607660492544] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.

                        [ WARN] [1523477604.699261566]: Frame metadata isn't available! (frame_timestamp_domain = RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME)

                        11/04 16:13:24,738 WARNING [140607649625856] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.

                        11/04 16:13:24,939 ERROR [140608427751296] (types.h:178) xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range

                        [ WARN] [1523477604.943568594]: Reconfigure callback failed with exception xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range:

                         

                        I can launch all the other files in the launch folder with few warnings except rs_rgbd.launch. rgbd.launch gives the following error

                         

                            full_path = _get_executable_path(rp.get_path(args[0]), path)

                          File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path

                            raise ResourceNotFound(name, ros_paths=self._ros_paths)

                        ResourceNotFound: rgbd_launch

                        ROS path [0]=/opt/ros/kinetic/share/ros

                        ROS path [1]=/home/indrajeet/catkin_ws/src

                        ROS path [2]=/opt/ros/kinetic/share

                         

                        So apart from these issues the camera is working with windows/ubuntu16.04 but not with ubuntu14.04, is there something else I can try? I would be happy to use 16.04 but some other ros packages I use work great on 14.04 so trying to make it work there.

                         

                        Indrajeet

                        • 9. Re: no realsense device found: realsense D415 camera
                          MartyG

                          There was a case last month where a D415 user could launch ROS in default mode but not RGBD mode.  Intel gave gave this advice:

                           

                          Re: 'rs_rgbd.launch' fails for D415

                           

                          In the original Librealsense 1, running the update patch process immediately after the SDK's installation was also recommended for Ubuntu 14.04.

                          • 10. Re: no realsense device found: realsense D415 camera
                            indsy

                            I am running the command as intel recommended in their reply. "roslaunch realsense2_camera rs_rgbd.launch " . I did not understand your second line. Do you mean running "./script/patch-realsense-ubuntu-xenial.sh" after final recompilation and installation of binaries?

                             

                            Indrajeet

                             

                             

                            • 11. Re: no realsense device found: realsense D415 camera
                              indsy

                              Got rs_rgbd.launch working in ubuntu16.04. All I had to do was to run sudo apt-get install ros-kinetic-rgbd-launch. was there in one of the issues on github.

                               

                               

                               

                              • 12. Re: no realsense device found: realsense D415 camera
                                MartyG

                                The update process I was referring to was sudo apt get update.

                                 

                                For 14.04 instructions, see the 'Building Librealsense2 SDK' section on this page:

                                 

                                librealsense/installation.md at master · IntelRealSense/librealsense · GitHub

                                • 13. Re: no realsense device found: realsense D415 camera
                                  indsy

                                  I run that while building the sdk for the first time since I had to upgrade gcc. I am very sure I did not do that second time. Will take a break and then try it again.

                                  Thanks

                                  Indrajeet

                                  • 14. Re: no realsense device found: realsense D415 camera
                                    MartyG

                                    A break is a very good idea.  Coming back to a problem with a fresh perspective and some food / drink inside you works wonders.    Good luck and let us know how you get on! 

                                    1 2 Previous Next