You can now install an Intel RealSense camera on a NVIDIA Jetson Nano Developer Kit in under 5 minutes! Looky here:
Over the last several years we have been installing Intel RealSense on Jetson Development Kits through a painful process of patching the Linux kernel, compiling kernel modules and building the RealSense driver SDK, librealsense, from source.
All of that has changed! Intel now has an APT repository with a version that is ready to install directly on the Jetson use the apt utility. It takes less than 5 minutes !!! Much better than the hours required previously.
Intel now recommends using the USB Video Class (UVC) as the backend for the RealSense SDK. This has the added advantage of letting the RealSense camera act as a web cam device when appropriate.
In order to install the RealSense SDK, we must first add the Intel repository to our sources list. After updating, then we can use the apt command to install the SDK. Here are step by step instructions from Intel.
As usual, we have created a convenience script to perform these actions. On the JetsonHacksNano account on Github, there is a repository installLibrealsense. From a Terminal, clone the repository, and switch over to that repositories directory:
$ git clone https://github.com/JetsonHacksNano/installLibrealsense
$ cd installLibrealsense
You are now ready to install:
Installation takes a couple of minutes, and then you are ready to go! You can start realsense-viewer:
Build from Source
There is also a script to help you build the RealSense SDK from source:
After the build, plan on rebooting the Jetson Nano before experiencing RealSense goodness.
As shown in the video:
- Jetson Nano
- JetPack 4.3, L4T 32.3.1
- RealSense D435i depth camera, RealSense T265 tracking camera