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
Do not have your Realsense camera connected to the Nano when building.
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