Difference between revisions of "ROS Kinect"
From wikidb
(→Install and Setup openni) |
(→Install and Setup freenect indigo) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | == Install and Setup freenect indigo == | ||
+ | |||
+ | [http://bi.snu.ac.kr/Courses/4ai12s/Projects/KinectWithROSTutorial.pdf Kinect With ROS Tutorial] | ||
+ | apt-cache search ros | grep freenect | ||
+ | sudo apt-get install ros-indigo-freenect-stack | ||
+ | sudo apt-get install ros-indigo-freenect-launch | ||
+ | |||
+ | To run in 4 terminals | ||
+ | roscore | ||
+ | |||
+ | cd /opt/ros/indigo/share/freenect_launch/launch | ||
+ | roslaunch freenect.launch | ||
+ | |||
+ | rosrun image_view image_view image:=camera/rgb/image_color | ||
+ | |||
+ | rosrun image_view disparity_view image:=/camera/depth_registered/disparity | ||
+ | |||
+ | I saw the image but no depth map | ||
+ | |||
== Install and Setup freenect == | == Install and Setup freenect == | ||
Latest revision as of 17:03, 27 November 2014
Install and Setup freenect indigo
apt-cache search ros | grep freenect sudo apt-get install ros-indigo-freenect-stack sudo apt-get install ros-indigo-freenect-launch
To run in 4 terminals
roscore cd /opt/ros/indigo/share/freenect_launch/launch roslaunch freenect.launch rosrun image_view image_view image:=camera/rgb/image_color rosrun image_view disparity_view image:=/camera/depth_registered/disparity
I saw the image but no depth map
Install and Setup freenect
sudo apt-get install ros-hydro-freenect-stack echo 'blacklist gspca_kinect' | sudo tee -a /etc/modprobe.d/blacklist.conf
Install and Setup openni
sudo apt-get install ros-hydro-openni-camera ros-hydro-openni-launch