Skip to content
This repository was archived by the owner on Feb 21, 2021. It is now read-only.

[#277] Added support for kinect 2 with ROS#1106

Merged
fqez merged 2 commits into
JdeRobot:masterfrom
aitormf:kinect2
Mar 22, 2018
Merged

[#277] Added support for kinect 2 with ROS#1106
fqez merged 2 commits into
JdeRobot:masterfrom
aitormf:kinect2

Conversation

@aitormf
Copy link
Copy Markdown
Collaborator

@aitormf aitormf commented Mar 14, 2018

instructions to compile kinect 2 driver for ROS:

  1. install following packages:
sudo apt-get install build-essential cmake pkg-config
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libturbojpeg libjpeg-turbo8-dev
sudo apt-get install libglfw3-dev
  1. test your kinect 2:
mkdir build && cd build
cmake .. -DENABLE_CXX11=ON -DCMAKE_INSTALL_PREFIX=$HOME/freenect2
make
make install
sudo cp ../platform/linux/udev/90-kinect2.rules /etc/udev/rules.d/

sudo ./bin/Protonect

imagen

  1. Compile the driver in your catkin workspace:
cd $YOUR_CATKIN_WORKSPACE_PATH/src
git clone https://github.com/code-iai/iai_kinect2.git
cd iai_kinect2
rosdep install -r --from-paths .

cd ~/YOUR_CATKIN_WORKSPACE_PATH
catkin_make -DCMAKE_BUILD_TYPE="Release"
  1. run the driver:
source devel/setup.bash
roslaunch kinect2_bridge kinect2_bridge.launch
  1. run rgbdViewer in other terminal:
rgbdViewer rgbdViewerKinect2.yml

@fqez fqez merged commit d210ccf into JdeRobot:master Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants