Compile and Install intel realsense for nvidia nano. (D400, SR300 and T265).

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

References

https://github.com/IntelRealSense/librealsense

https://www.jetsonhacks.com/2019/05/16/jetson-nano-realsense-depth-camera/

https://github.com/JetsonHacksNano/installLibrealsense

Increase Swapfile size to prevent Crashes

Run the following commands to expand the swap file size. Otherwise the compile process will crash due to loss of memory. The swap file increase also reduces the compile time.

git clone https://github.com/jetsonhacksnano/installSwapfile
cd installSwapfile
./installSwapfile.sh
cd ..

Clone and install RealSense files for Cuda

git clone https://github.com/jetsonhacksnano/installLibrealsense.git
cd installLibrealsense
./installLibrealsense.sh -c

Build RealSense

Do not have your Realsense camera connected to the Nano when building.

./buildLibrealsense.sh

The location of librealsense SDK products after installation:

  • The library is installed in /usr/local/lib
  • The header files are in /usr/local/include
  • The demos and tools are located in /usr/local/bin

Run RealSense camera

Enter the following commands to open the realsense camera.

Connect your Realsense camera to the Nano.

You may need to install updates.

cd /usr/local/bin
./realsense-viewer

Contributors

Marty

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.