Skip to content

Install and build RealSense library for Jetson modules.

License

Notifications You must be signed in to change notification settings

ysozkaya/RealSense-Jetson

Repository files navigation

RealSense-Jetson

Install and build RealSense library for Jetson modules.

Using this repository, one can able to install librealsense to a Jetson module and use RealSense cameras. I used 'build from source' option and do not use RSUSB implementation described here since couldn't run it properly and couldn't install pyrealsense2.

Usage

After installing and writing relevant image file to an SD card as described in user guides, insert it to the Jetson module and finish the initial setup.

After the first boot, open a terminal and clone this repository to your system with:

  • git clone https://github.com/35selim/RealSense-Jetson.git
  • cd RealSense-Jetson

Now, just run the scripts with the following order:

  1. If you only want to install RealSense SDK
  • sh initialize_Jetson.sh
  • After reboot, again open a terminal and run cd RealSense-Jetson
  • Lastly, run sh install_SDK_without_pyrealsense2.sh
  1. If you want to construct python bindings to use pyrealsense2
  • sh initialize_Jetson.sh
  • After reboot, again open a terminal and run cd RealSense-Jetson
  • Lastly, run sh build_pyrealsense2_and_SDK.sh

Note: 'initialize_Jetson.sh' script will clean some unnecessary stuff, upgrade the system and install a swap file for further operations that require more ram than the Jetson module has. Eventually, it reboots the system to make sure changes are in effect. Whenever the command promt requires, enter your password.

Note: The second operation that is done by 'sh build_pyrealsense2_and_SDK.sh' builds from source. That means that the operation will take a long time.

You can configure the scripts according to your needs. Note that, pyrealsense2 will be built using CUDA.

Warning: The scripts are tested only on Jetson Nano module. Further information will be provided as the scripts tested on other modules.

About

Install and build RealSense library for Jetson modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages