Difference between revisions of "Asus 1000 Kinect"
From wikidb
(→Test) |
(→Test) |
||
Line 16: | Line 16: | ||
roscore | 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 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 | ||
Line 22: | Line 24: | ||
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. | Also tried this but it errored out and referred to the next launch. |
Revision as of 11:58, 28 December 2014
Contents
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
I saw the image but no depth map. It appear after a long pause.
An alternative command from Kinect Basics
roslaunch freenect_launch freenect.launch
Also tried this but it errored out and referred to the next launch.
roslaunch freenect_launch kinect_frames.launch 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.