Show EOL distros: 

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Visualizing TurtleBot 3D camera Data

Description: This tutorial shows you how to look at data coming from a 3D camera like kinect or xtion.

Tutorial Level: BEGINNER

Next Tutorial: Keyboard Teleop

Watch the Video

Starting the 3D sensor

This tutorial assumes that you have completed the TurtleBot bringup tutorial and your TurtleBot is running.

Start by launch the kinect launch file on your TurtleBot:

  roslaunch turtlebot_bringup kinect.launch

Start rviz

On your workstation computer start rviz:

 rosrun rviz rviz

Add Camera View

  1. Click the add button
  2. Select Camera (this will add a camera drop down in the right side bar)
  3. Click the topic button in the camera drop down
  4. Click on camera then on depth or rgb and select an image to view
  5. An image view window will pop up displaying the image

Add a PointCloud2 View

  1. Click the add button
  2. Select PointCloud2 (this will add a pointcloud2 drop down in the right side bar)

  3. Click the topic button in the pointcloud2 drop down
  4. Click on camera then on depth or rgb and select points to view
  5. The pointcloud will display in the main rviz window.
  6. Select axis in the pointcloud2 drop down to change the pointcloud visualization.

The groovy tutorial has moved to 3D Visualisation

Wiki: turtlebot/Tutorials/Looking at Camera Data (last edited 2013-03-05 01:39:56 by DanielStonier)