Rviz use

Brief introduction and use of rviz

rviz is a 3D visualization platform in ROS. On one hand, it can realize the graphical display of external information, and on the other hand, it can also release control information to an object through rviz, realizing the monitoring and control of a robot.

1 Installation of rviz and the introduction to its interface

When installing ros, if you perform a complete installation, rviz is already installed, and you may try to run it directly; if it is not fully installed, you may install rviz separately:

After the installation is complete, open a new terminal (shortcut key: Ctrl+Alt+T) and enter the following command:

Then open a new terminal (shortcut key: Ctrl+Alt+T) and input the following command to open rviz.

Open rviz, and the following interface will be displayed:

img

1.1 Introduction of all areas

We only give a rough introduction in this part. If you want to know more details, go to User Guide.

2 Prerequisites

Then enter the user password(Note: The password is not displayed, just enter it correctly).

3 Simple use

Start using launch file

This example is built on what you have already done Environment building and you have successfully copied the company's code from GitHub to your virtual machine.

Open a new terminal (shortcut key: Ctrl+Alt+T)

Input the command to configure the ROS environment.

Input again:

Open rviz, and then you will obtain the following result:

img

If you want to know more information about rviz, go to Official documents.