Difference between revisions of "ROS Kinect"

From wikidb
Jump to: navigation, search
(Install and Setup Freenect)
(Install and Setup freenect indigo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Install and Setup Freenect ==
+
== 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 ==
  
 
* http://wiki.ros.org/kinect
 
* http://wiki.ros.org/kinect
Line 7: Line 26:
 
    
 
    
 
   echo 'blacklist gspca_kinect' | sudo tee -a /etc/modprobe.d/blacklist.conf
 
   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

Latest revision as of 17:03, 27 November 2014

Install and Setup freenect indigo

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

 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