RQt is a graphical user interface framework that implements various tools and interfaces in the form of plugins. One can run all the existing GUI tools as dockable windows within RQt! The tools can still run in a traditional standalone method, but RQt makes it easier to manage all the various windows in a single screen layout.
You can run any RQt tools/plugins easily by:
rqt
This GUI allows you to choose any available plugins on your system. You can also run plugins in standalone windows. For example, RQt Python Console:
ros2 run rqt_py_console rqt_py_console Users can create their own plugins for RQt with either ``Python`` or ``C++``. `Over 20 plugins<http://wiki.ros.org/rqt/Plugins>`_ were created in ROS 1 and these plugins are currently being ported to ROS 2 (as of Dec 2018, `more info <https://discourse.ros.org/t/rqt-in-ros2/6428>`_).
sudo apt install ros-$ROS_DISTRO-rqt*
See Building RQt from Source <RQt-Source-Install>
RQt consists of three metapackages:
- rqt - core infrastucture modules.
- rqt_common_plugins - Backend tools for building tools. TODO: as of Dec 2018 this metapackage isn't available in ROS 2 since not all plugins it contains have been ported yet.
- rqt_robot_plugins - Tools for interacting with robots during runtime. TODO: as of Dec 2018 this metapackage isn't available in ROS 2 since not all plugins it contains have been ported yet.
Compared to building your own GUIs from scratch:
- Standardized common procedures for GUI (start-shutdown hook, restore previous states).
- Multiple widgets can be docked in a single window.
- Easily turn your existing Qt widgets into RQt plugins.
- Expect support at ROS Answers (ROS community website for the questions).
From system architecture's perspective:
- Support multi-platform (basically wherever QT and ROS run) and multi-language (
Python
,C++
).- Manageable lifecycle: RQt plugins using common API makes maintainance & reuse easier.
- ROS 2 Discourse announcment of porting to ROS2).
- ROS 1 documentation.
- Brief overview of RQt (from an intern completion blog post).