d435 and t265 together on nvidia jetson tx2
I try to run d435 and t265 together on Jetson TX2 via realsense-viewer. To do this I have connected both cameras to 4-ports USB 3.0 hub. (https://www.tp-link.com/us/home-networking/usb-hub/uh400/).
And also I tried Ginzzu gr-384uab powered USB hub.
If I connect only one of this cameras - each of them works ok.
But if connect them both to USB-hub and try to start stream from t265, t265 works 2-10 seconds approximately and then become disconnected
and d435 works ok regardless to t265 streaming.
I tried to run d435 and t265 together on different PC via the same USB-hub and they worked ok.
What can I do to solve this problem? Is there any related issues? Is this supported to run d435 and t265 together on jetson TX2?
Thank you in advance!
-
You have to build the RealSense SDK with TM2 (BUILD_WITH_TM2 is ON) . https://dev.intelrealsense.com/docs/build-configuration . JetsonHacks explains but does not include this in his build on installing T265 on Nano.
cmake ../-BUILD_WITH_TM2=True (if I remember correctly). Worse is that this switch for some reason on the nvidia platform seems to switch off and it has to be rebuilt again before the camera will work.... not sure what the long term fix would be.... but check it out and let us know. It took me several months to figure this out. I have been through the USB power and the T265 uses very little power, infact I am able to power my USB hub off of the TX2 USB with no power and it works fine.
-
Hello T Michals, thanks for your information!
Have you been using d435 and t265 together? Because I was running t265 on tx2 without d435 connected, and it was working fine. So, i think building Realsense SDK with that flag will not help. But anyway I will try rebuilding and reinstalling and let you know.
-
Yes, I am/was using the d435 and t265 together at the same time on my USB hub (with no USB hub power adapter, strictly using USB power from TX2 ). I also am/was powering my mouse and keyboard on the same USB hub.
I am interested to know how you are planning to use these camera's on the TX2? I decided instead of using a USB hub that I would run my D435 and T265 on a Nano which has 4 USB slots and use the TX2 for other purposes. A Nano removes the need for a USB hub. My USB hub used 12v and my Nano uses 5V - 3amps.
-
I have tried rebuilding and reinstalling RealSense SDK and it didnt help.
I was reading https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md and have done following steps:
1) git clone https://github.com/IntelRealSense/librealsense.git
2) cd librealsense
3) remove current librealsense:
sudo apt-get purge librealsense2-dbg librealsense2-dev librealsense2-udev-rules librealsense2-utils librealsense2-gl librealsense2
4) sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev
5) sudo apt-get install libglfw3-dev
6) ./scripts/setup_udev_rules.sh
7) ./scripts/patch-realsense-ubuntu-lts.sh
8) echo 'hid_sensor_custom' | sudo tee -a /etc/modules
9) mkdir build && cd build
10) cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DBUILD_WITH_CUDA=true
11) sudo make uninstall && make clean && make -j8 && sudo make install
-
If not follow jetsonhacks on youtube for a nano...it will work on TX2. Jim has not updated the build scripts for the TX2(except the TX2 flash) so you can use the nano scripts
1) Flash TX2
2) Install RealSense T265 with cmake switches. cmake ../-BUILD_WITH_TM2=True
3) Install ROS
4)Install ROS wrapperThis is where I hit a problem installing rtabmap. The build goes bad because they added code to the RealSense SDK but it no longer builds rtabmap.
https://support.intelrealsense.com/hc/en-us/community/posts/360037179594-Trying-to-use-ROS-and-rtmb-and-getting-build-error-when-installing-rtmb
Please sign in to leave a comment.
Comments
8 comments