O'Reilly logo

Learning ROS for Robotics Programming by Enrique Fernández, Aaron Martinez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3D visualization

As we have seen in the previous section, there are some devices (such as stereo cameras, 3D laser, and the Kinect sensor) that provide 3D data, usually in the form of point clouds (organized or not). For this reason, it is extremely useful to have tools that visualize this type of data. In ROS, we have rviz, which we will see in the following section, that integrates an OpenGL interface with a 3D world that represents sensors' data in a modeled world. To do so, we will see that, for complex systems, the frame of each sensor and the transformations among them is of crucial importance.

Visualizing data on a 3D world using rviz

With roscore running, we only have to execute the following code to start rviz:

rosrun rviz rviz

We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required