IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.53k stars 4.81k forks source link

T265 Stops Working When Streaming Starts #7234

Open JakeAllison opened 4 years ago

JakeAllison commented 4 years ago
librealsense 2.37.0 RELEASE
OS Ubuntu 16.04.7
Name Intel RealSense T265
Serial Number 15322110183
Firmware Version 0.2.0.951
Usb Type Descriptor 3.1
Product Line T200

I have been trying to get the T265 tracking camera working with no success. Whenever I start the device, it always gives me similar errors to the log below. Could this possibly be a problem with the device? If so, any idea what is going on?

I have tested this on Realsesnse Viewer and ROS, Windows and Linux, v2.38.1 and v2.37.0, prebuilt and built from source, and both my laptop and desktop. They all have similar issues.

For the data below, I used 2.37.0 built from source. with the CMake options -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true -BUILD_WITH_TM2=ON

00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:507 - Added a gyro sensor id: 0 at 200Hz 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:507 - Added a accel sensor id: 0 at 62Hz 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:510 - Skipped a velocimeter stream 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:510 - Skipped a velocimeter stream 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/rs.cpp:2535 - Framebuffer size changed to 1855 x 1056 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/rs.cpp:2535 - Window size changed to 1855 x 1056 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/rs.cpp:2535 - Scale Factor is now 1 00:43:05 [Info] - Intel RealSense T265 was selected as a default device 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-info.cpp:53 - Picked 1/29 devices 00:43:05 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/context.cpp:365 - Found 1 RealSense devices (mask 255) 00:43:10 [Info] - Starting streaming of Fisheye, Fisheye, Gyro, Accel, Pose... 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:600 - Request for stream type 4 with stream index 1 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:600 - Request for stream type 4 with stream index 2 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:600 - Request for stream type 5 with stream index 0 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:600 - Request for stream type 6 with stream index 0 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:600 - Request for stream type 8 with stream index 0 00:43:10 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:645 - Activated 5/5 streams 00:43:11 [Warn] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/libusb/messenger-libusb.cpp:66 - bulk_transfer returned error, endpoint: 0x2, error: Success, err. num: 0 00:43:11 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:2036 - Bulk request error RS2_USB_STATUS_IO 00:43:11 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:1437 - Got bad response, stopping log_poll 00:43:11 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:1345 - Stream transfer failed, exiting 00:43:11 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:1263 - Interrupt transfer failed, exiting 00:43:12 [Warn] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/libusb/messenger-libusb.cpp:66 - bulk_transfer returned error, endpoint: 0x2, error: No such device, err. num: 19 00:43:12 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:2036 - Bulk request error RS2_USB_STATUS_NO_DEVICE 00:43:12 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:1453 - Got bad response, stopping time sync 00:43:15 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/rsusb-backend/../tm2/tm-boot.h:22 - Found a T265 to boot 00:43:17 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-info.cpp:53 - Picked 1/29 devices 00:43:17 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/context.cpp:365 - Found 1 RealSense devices (mask 255) 00:43:17 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-info.cpp:53 - Picked 1/29 devices 00:43:17 [Info] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/context.cpp:365 - Found 1 RealSense devices (mask 255) 00:43:32 [Info] - Stopping streaming 00:43:32 [Warn] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/libusb/messenger-libusb.cpp:66 - bulk_transfer returned error, endpoint: 0x2, error: No such device, err. num: 19 00:43:32 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:2036 - Bulk request error RS2_USB_STATUS_NO_DEVICE 00:43:32 [Warn] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/libusb/messenger-libusb.cpp:66 - bulk_transfer returned error, endpoint: 0x2, error: No such device, err. num: 19 00:43:32 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:2036 - Bulk request error RS2_USB_STATUS_NO_DEVICE 00:43:32 [Warn] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/libusb/messenger-libusb.cpp:66 - bulk_transfer returned error, endpoint: 0x2, error: No such device, err. num: 19 00:43:32 [Error] /tmp/binarydeb/ros-kinetic-librealsense2-2.37.0/src/tm2/tm-device.cpp:2036 - Bulk request error RS2_USB_STATUS_NO_DEVICE

JakeAllison commented 4 years ago

Further info. I looked at the USB activity using "dmesg -wH". I connected the device at the with realsense-viewer already open. Started streaming data at [+11.930934]. This time, I used Ubuntu 20.04 w/ v2.38.1 built from source. Everything else works just fine except the T265 disconnect issue.

[Sep 7 14:54] usb 1-1: new high-speed USB device number 36 using xhci_hcd [ +0.148606] usb 1-1: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01 [ +0.000009] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0.000005] usb 1-1: Product: Movidius MA2X5X [ +0.000005] usb 1-1: Manufacturer: Movidius Ltd. [ +0.000005] usb 1-1: SerialNumber: 03e72150 [ +0.920621] usb 1-1: USB disconnect, device number 36 [ +0.466910] usb 2-1: new SuperSpeed Gen 1 USB device number 17 using xhci_hcd [ +0.024718] usb 2-1: New USB device found, idVendor=8087, idProduct=0b37, bcdDevice=ff.ff [ +0.000007] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0.000006] usb 2-1: Product: Intel(R) RealSense(TM) Tracking Camera T265 [ +0.000005] usb 2-1: Manufacturer: Intel(R) Corporation [ +0.000004] usb 2-1: SerialNumber: 15322110183 [ +11.930934] usb 2-1: usbfs: usb_submit_urb returned -19 [ +0.170123] usb 2-1: usbfs: usb_submit_urb returned -19 [ +0.029978] usb 1-1: new high-speed USB device number 37 using xhci_hcd [ +0.160621] usb 1-1: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01 [ +0.000014] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0.000005] usb 1-1: Product: Movidius MA2X5X [ +0.000005] usb 1-1: Manufacturer: Movidius Ltd. [ +0.000004] usb 1-1: SerialNumber: 03e72150 [ +0.323437] usb 2-1: USB disconnect, device number 17 [ +0.176897] wlp2s0: authenticate with 44:a5:6e:60:b8:99 [ +0.003749] wlp2s0: send auth to 44:a5:6e:60:b8:99 (try 1/3) [ +0.068551] wlp2s0: authenticate with 44:a5:6e:60:b8:99 [ +0.000013] wlp2s0: send auth to 44:a5:6e:60:b8:99 (try 1/3) [ +0.011052] wlp2s0: authenticated [ +0.007673] wlp2s0: associate with 44:a5:6e:60:b8:99 (try 1/3) [ +0.007279] wlp2s0: RX AssocResp from 44:a5:6e:60:b8:99 (capab=0x1431 status=0 aid=1) [ +0.000931] wlp2s0: associated [ +0.027730] wlp2s0: disassociated from 44:a5:6e:60:b8:99 (Reason: 1=UNSPECIFIED) [ +4.147305] usb 1-1: USB disconnect, device number 37 [ +0.504890] usb 2-1: new SuperSpeed Gen 1 USB device number 18 using xhci_hcd [ +0.020887] usb 2-1: New USB device found, idVendor=8087, idProduct=0b37, bcdDevice=ff.ff [ +0.000006] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0.000004] usb 2-1: Product: Intel(R) RealSense(TM) Tracking Camera T265 [ +0.000003] usb 2-1: Manufacturer: Intel(R) Corporation [ +0.000003] usb 2-1: SerialNumber: 15322110183 [ +6.369941] wlp2s0: authenticate with 44:a5:6e:60:b8:9b [ +0.004665] wlp2s0: send auth to 44:a5:6e:60:b8:9b (try 1/3) [ +0.003243] wlp2s0: authenticated [ +0.004969] wlp2s0: associate with 44:a5:6e:60:b8:9b (try 1/3) [ +0.004512] wlp2s0: RX AssocResp from 44:a5:6e:60:b8:9b (capab=0x1511 status=0 aid=2) [ +0.001518] wlp2s0: associated