You're reading the documentation for an older, but still supported, version of ROS 2. For information on the latest version, please have a look at Humble.
Building RQt from source
We’ve provided our development setup here to aid future users in easily extending RQt by creating their own plugins.
We encourage you to contribute those plugins back to the
ros-visualization GitHub repository!
These instructions are written for the target platforms for Crystal Clemmys (see REP).
Ubuntu Bionic Beaver 18.04 64-bit
Mac OSX Sierra 10.12.x
Windows 10 with Visual Studio 2017
In ROS 2 Crystal the minimum Qt version is
Building From Source
In order to build RQt from source, first create a ROS 2 workspace at
This is step is already covered in building ROS 2 from source instructions, so we skip it here.
Download RQt Repositories
cd ~/ros2_ws vcs import --force --input https://raw.githubusercontent.com/PickNikRobotics/rqt2_setup/master/rqt2.repos src
As an alternative to the hosted
.repos file you can use
rosinstall_generator to generate a custom one:
rosinstall_generator --rosdistro crystal --upstream-development --repos python_qt_binding qt_gui_core rqt <more-repos-with-rqt-plugins> > rqt2.repos vcs import --force src < rqt2.repos
rosdep install --from-paths src --ignore-src --rosdistro bouncy -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers"
Build The Workspace
Generally building a workspace is as simple as:
For Windows, it is recommended to use the
colcon build --merge-install
Advanced Colcon usages:
Show verbose output on the console:
colcon build –event-handlers console_direct+
Only build one package and its dependencies:
colcon build –packages-up-to rqt_shell
Source your environment
Linux or macOS