ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Kinect with rviz

asked 2013-12-18 03:40:05 -0500

SpiderRico gravatar image

updated 2016-10-24 09:03:12 -0500

ngrennan gravatar image

I am a beginner of both ROS, Kinect and Ubuntu. What i want is to visualize kinect data on rviz environment then run object recognition on it.

I've tried a few tutorials but had no luck. All I got was an empty rviz world.

Since I am a beginner I would appreciate any step-by-step intructions (preferably for hydro or groovy).

I would also like to note that I've menaged to get visual from kinect so the device is working fine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-19 19:51:32 -0500

Tirjen gravatar image

updated 2013-12-19 19:53:02 -0500

To install the package fro kinect run:

sudo apt-get install ros-hydro-openni-launch

The to use: roslaunch openni_launch openni.launch as described here to make the package publish kinect's topics. To visualize for example the depth image run rosrun image_view image_view image:=/camera/depth/image.

To visualize for example the Point Cloud in rviz you can add a PointCloud2 Display ad choose the appropriate topic. For object recognition what are you planning to use?

I suggest you to see also the basic tutorials and the rviz tutorials!

edit flag offensive delete link more

Comments

Hello and thank you for your reply. I've managed to get the visual from kinect however still can't see it on rviz. For example, after running the depth image i set fixed frame on rviz to depth frame but nothing changes. What else do I need to do ?

SpiderRico gravatar image SpiderRico  ( 2013-12-19 22:07:56 -0500 )edit

Nvm, fixed it. Ty for your help.

SpiderRico gravatar image SpiderRico  ( 2013-12-19 23:35:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-18 03:40:05 -0500

Seen: 2,182 times

Last updated: Dec 19 '13