Difference between revisions of "Asus 1000 Kinect"

From wikidb
Jump to: navigation, search
(Test)
(Test)
Line 16: Line 16:
  
 
   roscore
 
   roscore
  roslaunch freenect_launch freenect.launch \
+
  roslaunch freenect_launch freenect.launch \
 
     rgb_frame_id:=camera_rgb_optical_frame \
 
     rgb_frame_id:=camera_rgb_optical_frame \
 
     depth_frame_id:=camera_depth_optical_frame
 
     depth_frame_id:=camera_depth_optical_frame
 
   rosrun image_view image_view image:=camera/rgb/image_color
 
   rosrun image_view image_view image:=camera/rgb/image_color
 
   rosrun image_view disparity_view image:=/camera/depth_registered/disparity
 
   rosrun image_view disparity_view image:=/camera/depth_registered/disparity
I saw the image but no depth map. It appear after a long pause.
+
The depth map takes roughly 30+ seconds to show up.  
  
 
An alternative command from [http://sdk.rethinkrobotics.com/wiki/Kinect_basics Kinect Basics]
 
An alternative command from [http://sdk.rethinkrobotics.com/wiki/Kinect_basics Kinect Basics]
roslaunch freenect_launch freenect.launch
 
  
Also tried this but it errored out and referred to the next launch.
+
The following were not successfull:
   roslaunch freenect_launch kinect_frames.launch
+
  roslaunch freenect_launch freenect.launch
 +
   roslaunch freenect_launch kinect_frames.launch         # errors point to the following command
 
   roslaunch rgbd_launch kinect_frames.launch
 
   roslaunch rgbd_launch kinect_frames.launch
  

Revision as of 12:03, 28 December 2014

freenect

Install

 apt-cache search ros | grep freenect
 
 sudo apt-get install ros-indigo-freenect-stack
 sudo apt-get install ros-indigo-freenect-launch

Test

Currently running in root to get the kinect to connect.

 roscore
 roslaunch freenect_launch freenect.launch \
   rgb_frame_id:=camera_rgb_optical_frame \
   depth_frame_id:=camera_depth_optical_frame
 rosrun image_view image_view image:=camera/rgb/image_color
 rosrun image_view disparity_view image:=/camera/depth_registered/disparity

The depth map takes roughly 30+ seconds to show up.

An alternative command from Kinect Basics

The following were not successfull:

 roslaunch freenect_launch freenect.launch
 roslaunch freenect_launch kinect_frames.launch         # errors point to the following command
 roslaunch rgbd_launch kinect_frames.launch

openni

 sudo apt-get install ros-indigo-openni-camera
 sudo apt-get install ros-indigo-openni-launch

Same test as above. There was no image or depth map.