ROS - Data display with Rviz
RVIZ is a ROS graphical interface that allows you to visualize a lot of information, using plugins for many kinds of available topics.
The zed_display_rviz
package provides three launch files (display_zed.launch
,display_zedm.launch
, display_zed2.launch
, and display_zed2i.launch
) that start three preconfigured RVIZ sessions for the ZED, the ZED-M, ZED2 and ZED2i cameras respectively. The three sessions load the default RVIZ plugins preconfigured to show the most used data from the ZED ROS infrastructure.
To create your own RVIZ configuration, you can use the plugins described below.
Global options #
To be able to visualize the information published by the ZED camera, it is necessary to correctly configure the Global Options
:
Key parameters:
Fixed frame
: Indicates the name of the frame used as reference for all the other frames. You can select every frame available in the combo box.map
orodom
are the best choices.Frame rate
: The maximum frequency used to update the 3D view.30
or60
FPS are good values. Available computational power should guide your decision.
Grid #
This plugin allows you to visualize a grid normally associated with the floor plane.
Key parameters:
Reference frame
: The frame used as reference for the grid coordinates (normally:<fixed_frame>
)Plane cell count
: The size of the grid in cellsNormal cell count
: The number of cells in the direction normal to the grid plane (normally:0
)Cell size
: Dimensions in meters of each grid cellPlane
: The two axes that identify the grid plane
Robot model #
This plugin allows you to visualize the Robot Model according to its description from the URDF model.
With the ZED wrapper, you can load two Robot/Camera models for the two Stereolabs cameras: zed.urdf
and zedm.urdf
Key parameters:
Visual enabled
: Enable/disable the 3D visualization of the modelRobot description
: The topic on which the robot description is published. Fromzed_camera.launch
:<remap from="robot_description" to="zed_description" />
By expanding the Links
voice, you can see the whole model tree, with all the joints and the links available and the relative position and orientation in the space relative to the fixed frame
.
TF #
This plugins allows you to visualize the position and the orientation of all the frames that compose the TF Hierarchy.
Key parameters:
Show names
: Enable/disable the 3D visualization of name of the linksShow axes
: Enable/disable the 3D visualization of the axes of the framesShow arrows
: Enable/disable the 3D visualization of the arrows that connect the various framesUpdate interval
: The update time in seconds. Leave at0
to see each update
Critical to using this plugin is the ability to enable/disable visualizing individual frames. This allows you to concentrate only on the parts that are most important for your current task.
Video #
Learn how to configure RVIZ for visualizing Video information by following the Video with RVIZ tutorial.
Depth Sensing and Mapping #
Learn how to configure RVIZ for visualizing Depth information by following the Depth with RVIZ tutorial.
Positional Tracking #
Learn how to configure RVIZ for visualizing Position information by following the Position with RVIZ tutorial.
Object Detection #
Learn how to configure RVIZ for visualizing Detected Object information by following the Object Detection with RVIZ tutorial.