librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Build realsense SDK on tx2 with jetpack 3.3

Open schoningerJim opened this issue 7 years ago • 5 comments


Required Info
Camera Model D435
Firmware Version 2.19.1
Device firmware 5.11.01.1
Operating System & Version L4T R28.2.1
Kernel Version (Linux Only) kernel version 4.4.38
Platform NVIDIA Jetson TX2.
SDK Version
Language {C++/opencv/python/
Segment {Robot

Issue Description

Hi all, I would like to know the correct procedure to install the realsense SDK on the NVIDIA tx2 which has been flashed with jetpack 3.3 (L4T R28.2.1). All the above information were for my installation on an Ubuntu machine but now i want to install the SDK on the tx2. Moreover, my TX2 has already OPENCV ( build from source, i remove the one from jetpack and rebuild another version) and ROS kinetic installed.

Thank you in advance.

Best,

schoningerJim avatar Mar 20 '19 03:03 schoningerJim

Hi @schoningerJim Try this script. Tested on a Arm A53.

pedrombmachado avatar Mar 20 '19 10:03 pedrombmachado

@pedrombmachado Thank you for the script. Basically, i could install the library from sources but the problem is with the TX2, there is some missing (metaframe data) which have been reported in here But the above link solved the problem with an older version of librealsense. Thats why i asked for the newest version of librealsense

schoningerJim avatar Mar 25 '19 01:03 schoningerJim

Hi @schoningerJim Check also this option here #3517. This solution enables you to compile with gcc-7

By changing the optimization level from -O3 to -O2 in the CMakeCache.txt file after running the initial CMake command, it builds and run using the default compiler( v7.3 ).

Now you should force ROS using opencv4.0.1. Check here Some extra steps include compiling opencv4.0.1. check this script You will need to modify both opencv and realsense to compile the python2 bindings (ROS native python interpreter) by using -D PYTHON_EXECUTABLE=/usr/bin/python2 In my case, I have the librealsense and opencv4 integrated with ROS melodic. I hope it helps.

pedrombmachado avatar Mar 26 '19 10:03 pedrombmachado


Hi @schoningerJim

Wonder if there is any update on this one? Given what pedrombmachado suggested, do you still have any issue?

Thanks!


Hi @schoningerJim

If there is nothing else needed, this one will be closed soon.

Thanks!