https://github.com/jetsonhacks/installrealsensesdk
Install the Intel RealSense SDK on the NVIDIA Jetson Development Kits
https://github.com/jetsonhacks/installrealsensesdk
intel-realsense jetson-agx-xavier jetson-nano jetson-tx1 jetson-tx2 jetson-xavier-nx librealsense nvidia
Last synced: 4 months ago
JSON representation
Install the Intel RealSense SDK on the NVIDIA Jetson Development Kits
- Host: GitHub
- URL: https://github.com/jetsonhacks/installrealsensesdk
- Owner: jetsonhacks
- License: mit
- Created: 2019-11-10T18:45:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T16:47:13.000Z (almost 4 years ago)
- Last Synced: 2025-04-05T22:24:40.645Z (6 months ago)
- Topics: intel-realsense, jetson-agx-xavier, jetson-nano, jetson-tx1, jetson-tx2, jetson-xavier-nx, librealsense, nvidia
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 162
- Watchers: 5
- Forks: 41
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# installLibrealsense
Build and install scripts for Intel's librealsense for the NVIDIA Jetson Developer KitsOriginal article on JetsonHacks: https://wp.me/p7ZgI9-34j
The Intel® RealSense™ SDK is here: https://github.com/IntelRealSense/librealsense
The SDK library name is librealsense. This is for version 2 of the library, which supports
the D400 series depth cameras, T265 tracking camera, L515 lidar, and the SR300 depth camera.It is now possible on the NVIDIA Jetsons to do a simple install from a RealSense Debian repository
(i.e. apt-get install). Previous versions of this repository require building librealsense from source, and (possibly) rebuilding the Linux kernel.The current recommendation from Intel is to use UVC for video input on the Jetson family. The
UVC API in librealsense has been rewritten to better support this use case.installLibrealsense.sh
This script will install librealsense from the Intel Librealsense Debian Repository.
```
$ ./installLibrealsense.sh
```Note: You do not have to patch modules and kernels.
buildLibrealsense.sh
This script will build librealsense from source and install it on the system. Note: It is recommended to install from Debian repository as described above. However, if you need to compile from source, you will find this script useful.
```
$ ./buildLibrealsense.sh [ -v | --version ] [ -j | -jobs ] [ -n | --no_cuda ]
```Where:
* `` = Librealsense version. E.g. v2.49.0
* `` = # of jobs to run concurrently when building. Defaults to 1 if the Jetson has <= 4GB memory
* `` = Compile without CUDA support (by default, CUDA is on)The librealsense Github repository has good documentation for supporting more advanced modes for the RealSense sensors. Please see: [installation_jetson.md](https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md) The documentation covers different communication interfaces and how to explore different features, some of which may require recompiling kernel modules.
Note: The build uses libuvc. You will not have to rebuild the kernel or modules in order to use this build.Notes
If you use realsense-ros, make sure that you match the librealsense versions with the realsense-ros version requirement.
## Releases
### September, 2021
* Release v1.1
* Change release naming for this repository
* Updated keyserver URL
* Thank you Tomasz @tomek-I and Tommy @Tommyisr !
* Enhanced buildLibrealsense script
* Lookup latest version of librealsense from Github repository
* Allow override via CLI argument ( -v | -version )
* Allow user to specify number of build jobs ( -j | -jobs )
* If Jetson has > 4GB use number of cores - 1 ; otherwise 1
* Different parsing of comand line arguments using getopt
* Tested on Jetson Nano, Jetson Xavier NX, L4T 32.6.1, JetPack 4.6
* installLibrealsense.sh installed v2.49.0
* Thank you Abdul @jazarie2 Matt @droter and @wegunterjrFIrefly for pull requests!
January, 2020
* Release vL4T32.3.1
* Jetson Nano, Jetson TX1, Jetson TX2, Jetson AGX Xavier
* L4T 32.3.1, JetPack 4.3, Kernel 4.9
* librealsense version v2.31.0November, 2019
* Initial release
* Release vL4T32.2.1
* Jetson Nano, Jetson TX1, Jetson TX2, Jetson AGX Xavier
* L4T 32.2.1, JetPack 4.2.2, Kernel 4.9
* librealsense version v2.30.0