GithubHelp home page GithubHelp logo

houhongyi / installrealsensesdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetsonhacks/installrealsensesdk

0.0 0.0 0.0 27 KB

Install the Intel RealSense SDK on the NVIDIA Jetson Development Kits

License: MIT License

Shell 100.00%

installrealsensesdk's Introduction

installLibrealsense

Build and install scripts for Intel's librealsense for the NVIDIA Jetson Developer Kits

Original 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 <version> ] [ -j | -jobs <number of jobs> ] [ -n | --no_cuda ]

Where:

  • <version> = Librealsense version. E.g. v2.49.0
  • <number of jobs> = # of jobs to run concurrently when building. Defaults to 1 if the Jetson has <= 4GB memory
  • <no_cuda> = 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 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.0

November, 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

installrealsensesdk's People

Contributors

jetsonhacks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.