ROS에 Intel® RealSense™ SDK 2.0 설치
ROS(Ubuntu 16.04 kenetic)에 Intel® RealSense™ SDK 2.0 설치
1. 준비
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradegit clone https://github.com/IntelRealSense/librealsense.git
cd librealsense
sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev
sudo apt-get install libglfw3-dev
./scripts/setup_udev_rules.sh
./scripts/patch-realsense-ubuntu-lts.sh
echo 'hid_sensor_custom' | sudo tee -a /etc/modules
2. librealsense2 SDK 설치
sudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
sudo update-alternatives --set gcc "/usr/bin/gcc-5"
cd librealsense
mkdir build && cd build
cmake ../
sudo make uninstall && make clean && make && sudo make install
출처 : https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md
댓글
댓글 쓰기