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

Visualizing Kinect Output without a TurtleBot

asked 2012-05-02 12:08:11 -0500

updated 2016-10-24 08:59:16 -0500

ngrennan gravatar image

Hi,

The "Visualizing TurtleBot Kinect Data" tutorial http://www.ros.org/wiki/turtlebot/Tutorials/Looking%20at%20Camera%20Data seems very tided to the TurtleBot - is there a way to visualize the Kinect Camera or PointCloud in rviz without the TurtleBot?

Best Regards,

edit retag flag offensive close merge delete

Comments

You need some type of URDF so that RViz knows where the Kinect is so it can draw the point clouds. Then you would do what @Ryan says.

Thomas D gravatar image Thomas D  ( 2012-05-03 04:13:21 -0500 )edit

"roslaunch openni_launch kinect_frames.launch" takes care of setting up some static transforms to let rviz draw the clouds.

Ryan gravatar image Ryan  ( 2012-05-03 04:27:39 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-05-02 13:53:36 -0500

Ryan gravatar image

updated 2012-05-02 13:58:07 -0500

In three separate terminals, run:

roscore
roslaunch openni_launch kinect_frames.launch
roslaunch openni_launch openni.launch

Then, launch rviz with:

rosrun rviz rviz

Once that's up, select frames (any frames) from the dropdown menus beside "fixed frame" and "target frame". Then, add a PointCloud2 display and select "/camera/depth/points" as its topic. That should display the 3D cloud. You'll probably also want to tweak the display options to make it easier to see (changing from an "intensity" colour transform to an "axis" colour transform, for instance).

edit flag offensive delete link more
0

answered 2012-05-03 07:23:56 -0500

karthik gravatar image

Hi, If you have installed openni_camera package, then you may use

roslaunch openni_camera openni_node.launch

Followed by

rosrun rviz rviz

to visualize the cloud.

Thanks, Karthik

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2012-05-02 12:08:11 -0500

Seen: 1,131 times

Last updated: May 03 '12