Hello,
I am having trouble getting my OAK-D to connect to my computer so that I can use it through ROS as a part of my research into underwater robotic SLAM. I have tried several different methods of trying to get the camera to work over the tether (100m), and I think the closest I can come is to use a pair of adapters from usb2 to ethernet, then back from ethernet to usb2 on the topside. However I am having trouble getting the camera connected through this setup. I am using the usb2 mode for sure, since I only have 3 of the 4 pairs available in the tether, but before I mess with that part I am just trying to connect the camera over a shorter ethernet cable with the adapters.
When I run lsusb | grep 03e7
I get
Bus 003 Device 097: ID 03e7:2485 Intel Movidius MyriadX
When I run dmesg -w
then plug in the camera, I get:
[442896.307338] usb 3-11: new full-speed USB device number 98 using xhci_hcd
[442896.435438] usb 3-11: device descriptor read/64, error -71
[442896.693182] usb 3-11: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[442896.693194] usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[442896.693198] usb 3-11: Product: Movidius MyriadX
[442896.693202] usb 3-11: Manufacturer: Movidius Ltd.
[442896.693204] usb 3-11: SerialNumber: 03e72485
When I run roslaunch depthai_examples stereo_inertial_node.launch
I get:
[ INFO] [1677017327.602377380]: Initializing nodelet with 16 worker threads.
nnPath ,, /opt/ros/noetic/share/depthai_examples/resources/yolov4_tiny_coco_416x416_openvino_2021.4_6shave_bgr.blob
1280 720 1280 720
Listing available devices...
Device Mx ID: 18443010611D080F00
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to boot device!
================================================================================REQUIRED process [stereo_inertial_publisher-3] has died!
process has died [pid 206504, exit code -6, cmd /opt/ros/noetic/lib/depthai_examples/stereo_inertial_node __name:=stereo_inertial_publisher __log:=/home/smartslab/.ros/log/4ff95e64-b234-11ed-b0b4-7be8467a5951/stereo_inertial_publisher-3.log].
log file: /home/smartslab/.ros/log/4ff95e64-b234-11ed-b0b4-7be8467a5951/stereo_inertial_publisher-3*.log
Initiating shutdown!================================================================================
When I run python3 depthai_demo.py -usbs usb2
I get:
Using depthai module from: /home/smartslab/.local/lib/python3.8/site-packages/depthai.cpython-38-x86_64-linux-gnu.so
Depthai version installed: 2.20.2.0
Setting up demo...
Available devices:
[0] 18443010611D080F00 [X_LINK_UNBOOTED]
File "depthai_demo.py", line 657, in run
self.instance.run_all(self.conf)
File "depthai_demo.py", line 133, in run_all
self.setup(conf)
File "depthai_demo.py", line 210, in setup
self._device = dai.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, usb2Mode=self._conf.args.usbSpeed == "usb2")
RuntimeError: Failed to boot device!
I know that the cabling is working, as other usb devices I have plugged into it have worked just fine (controller, mouse, flash memory stick), and I'm really stumped as to where to go from here, since the camera is being recognized, it just won't actually run. Could anybody help me with this please?