Ask Your Question
0

running kinect on ros

asked 2015-11-06 01:51:07 -0500

mruniverse gravatar image

updated 2015-11-06 23:46:26 -0500

hi i am currently learning ROS.I am using a xbox 360 kinect sensor ,ROS indigo and ubuntu 14.04.I want to know how to gather the depth information of a kinect sensor through ros ?? what drivers need to be installed ???

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-09 21:18:11 -0500

Steven_Daniluk gravatar image

I'm in the process of trying to figure this out myself, so I won't be able to help you too much but I can point you in the right direction.

You'll need freenect_launch and libfreenect

sudo apt-get install ros-indigo-freenect-launch
sudo apt-get install ros-indigo-libfreenect

Then you can launch it with (make sure the Kinect is connected, it will tell you to connect it if not)

roslanch freenect_launch freenect.launch

When it starts it will output some messages like below, which apparently is normal

...
[ WARN] [1447125024.427412294]: Using default parameters for IR camera calibration.
[ INFO] [1447125027.019823318]: Stopping device RGB and Depth stream flush.

After this you can follow the tutorial from the openni page, starting at step 3 http://wiki.ros.org/openni_launch/Tut...

For more information look around on the freenect and openni pages.

-Steven

edit flag offensive delete link more

Comments

@Steven_Daniluk thanks a ton it worked :)

mruniverse gravatar imagemruniverse ( 2015-11-18 23:42:50 -0500 )edit

I have followed it and it is good. However, I am unable to measure depth by this method. In particular, I am using this (Links). I cannot use this command

rosrun image_view image_view image:=/camera/depth/image

Please, suggest

Dr Abdul Mannan gravatar imageDr Abdul Mannan ( 2016-10-16 02:25:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-11-06 01:51:07 -0500

Seen: 2,871 times

Last updated: Nov 06 '15