Ricbot realsense
From Rsewiki
Back to Ricbot
Intel RealSense
Install
sudo apt-get install automake libtool libusb-1.0-0-dev libx11-dev xorg-dev libglu1-mesa-dev sudo apt install libssl-dev
There is a script to download and compile, e.g. on Raspberry Pi here: https://github.com/realsenseai/librealsense/blob/master/doc/libuvc_installation.md
To install pyrealsense2 at the same time as librealsense, line 46 of the 'libuvc_installation.sh' build script should be changed from this:
cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release
to this:
cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release -DBUILD_PYTHON_BINDINGS:bool=true
From MartyG-RealSense on a pose here: https://github.com/realsenseai/librealsense/issues/13373
Library and examples
This is an alternative to the script above.
cd ~/git git clone https://github.com/IntelRealSense/librealsense.git cd librealsense mkdir build cd build cmake .. make -j3 sudo make install
Copy udev rules to udev
cd ~/git/librealsense/config/99-realsense*.rules /etc/udev/rules.d/ udevadm control --reload-rules
All example commands start with rs-, e.g.:
rs-capture rs-pointcloud